!C99Shell v. 1.0 pre-release build #16!

Software: Apache/2.0.54 (Fedora). PHP/5.0.4 

uname -a: Linux mina-info.me 2.6.17-1.2142_FC4smp #1 SMP Tue Jul 11 22:57:02 EDT 2006 i686 

uid=48(apache) gid=48(apache) groups=48(apache)
context=system_u:system_r:httpd_sys_script_t
 

Safe-mode: OFF (not secure)

/home/mnnews/public_html/stat/   drwxr-xr-x
Free 4.04 GB of 27.03 GB (14.93%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     img2.php (2.11 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
  
// Header("Content-type: image/gif");
  
Header("Content-type: image/jpeg");    //if your php support JPEG
  
$img_width=350;
  
$img_height=200;
  
$margin_left=25;
  
$margin_right=10;
  
$margin_top=20;
  
$margin_bot=10;
  
$bar_width=9;
  
$bar_space=4;

  
$title_font=5;
  
$im = imagecreate($img_width,$img_height);

  
$fond_img = imageColorAllocate($im, 204, 204, 204);
  
$noir=imageColorAllocate($im, 0, 0, 0);
  
$fond=imageColorAllocate($im,255,255,204);
  
$couleur_barre=imageColorAllocate($im,204,204,255);

  
ImageString($im,$title_font,($img_width-ImageFontWidth($title_font)*strlen($title))/2,0,$title,$noir);
  
#Draw rectangle which contain bars
  
imagefilledrectangle($im,$margin_left,$margin_top,$img_width-$margin_right,$img_height-$margin_bot,$fond);

  
# Manage data
  
$valeurs = explode(";",$sval);
  
//$img_width_barre=(int)(($img_width-22)/(1.5*sizeof($valeurs)+0.5));
  
$img_width_barre=$bar_width;

  
# Max function does not work correctly in php < 4
  
for ($i=0;$i<sizeof($valeurs);$i++)  if ($valeurs[$i]>$max) { $max = $valeurs[$i]; }

  
#Draw bars
  
for ($i=0;$i<sizeof($valeurs);$i++) {
   
$x[i]=$margin_left+$i*($bar_space+$bar_width);
   
$img_height_barre=(int)(($valeurs[$i]*($img_height-40))/$max);
   
$img_height_barre=(int)(($valeurs[$i]*($img_height-$margin_top-$margin_bot-2*$bar_space))/$max);
   
imagefilledrectangle($im,$x[i],$img_height-$margin_bot-$bar_space-$img_height_barre,
                         
$x[i]+$img_width_barre,$img_height-$margin_bot-$bar_space,
                         
$couleur_barre);
   if (
$valeurs[$i] == $max) {
        
ImageString($im,2,4,($img_height-15-$img_height_barre)-(ImageFontHeight(2)/2),$valeurs[$i],$noir);
        
imageline($im,20,$img_height-15-$img_height_barre,$img_width-2,$img_height-15-$img_height_barre,$fond_img);
   }
   
# write x axis every 2 hours
   
if (($i % 2)==0) ImageString($im,1,$x[i],$img_height-9,$i,$noir);
  }

  
ImageString($im,2,0,0,"hits",$noir);
  
ImageString($im,1,($img_width-ImageFontWidth(1)*strlen("H")),$img_height-9,"heures",$noir);
//  ImageGIF($im);
  
ImageJPEG($im);
  
ImageDestroy($im);
?>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 1.0 pre-release build #16 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0033 ]--