!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.32 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:     piebkgex1.php (2.04 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
// $Id: piebkgex1.php,v 1.3 2002/10/23 08:17:23 aditus Exp $
include ("../jpgraph.php");
include (
"../jpgraph_pie.php");
include (
"../jpgraph_pie3d.php");

// Some data
$data = array(
    array(
80,18,15,17),
    array(
35,28,6,34),
    array(
10,28,10,5),
    array(
22,22,10,17));

$piepos = array(0.2,0.4,0.65,0.28,0.25,0.75,0.8,0.75);
$titles = array('USA','Sweden','South America','Australia');

$n count($piepos)/2;
 
// A new graph
$graph = new PieGraph(550,400,'auto');

// Specify margins since we put the image in the plot area
$graph->SetMargin(1,1,40,1);
$graph->SetMarginColor('navy');
$graph->SetShadow(false);

// Setup background
$graph->SetBackgroundImage('worldmap1.jpg',BGIMG_FILLPLOT);

// Setup title
$graph->title->Set("Pie plots with background image");
$graph->title->SetFont(FF_COMIC,FS_BOLD,20);
$graph->title->SetColor('white');

$p = array();
// Create the plots
for( $i=0$i $n; ++$i ) {
    
$d "data$i";
    
$p[] = new PiePlot3D($data[$i]);
}

// Position the four pies
for( $i=0$i $n; ++$i ) {
    
$p[$i]->SetCenter($piepos[2*$i],$piepos[2*$i+1]);
}

// Set the titles
for( $i=0$i $n; ++$i ) {
    
$p[$i]->title->Set($titles[$i]);
    
$p[$i]->title->SetColor('white');
    
$p[$i]->title->SetFont(FF_ARIAL,FS_BOLD,12);
}

// Label font and color setup
for( $i=0$i $n; ++$i ) {
    
$p[$i]->value->SetFont(FF_ARIAL,FS_BOLD);
    
$p[$i]->value->SetColor('white');
}

// Show the percetages for each slice
for( $i=0$i $n; ++$i ) {
    
$p[$i]->value->Show();
}

// Label format
for( $i=0$i $n; ++$i ) {
    
$p[$i]->value->SetFormat("%01.1f%%");
}

// Size of pie in fraction of the width of the graph
for( $i=0$i $n; ++$i ) {
    
$p[$i]->SetSize(0.15);
}

// Format the border around each slice


for( $i=0$i $n; ++$i ) {
    
$p[$i]->ShowBorder(false);
    
$p[$i]->ExplodeSlice(1);
}

// Use one legend for the whole graph
$p[0]->SetLegends(array("May","June","July","Aug"));
$graph->legend->Pos(0.05,0.35);
$graph->legend->SetShadow(false);

for( 
$i=0$i $n; ++$i ) {
    
$graph->Add($p[$i]);
}

$graph->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.0097 ]--