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


Viewing file:     editRegisterUploadDoc.php (2.25 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?PHP
function manageDocAtt($DLCID,$DocID){
include_once(
"../../class/clsConnection.php");
include_once(
"../../class/clsDB.php");
include_once 
"../global.php";
include_once 
"../link/function.php";
include_once 
"../link/functionshow.php";
include_once 
"funct.php";
include_once 
"../link/keyThai.php";
include_once 
"../class/clsDocattatches.php";
include_once 
"../class/clsDocattatchesTmp.php";
include_once 
"../class/clsSysConfig.php";

$oC = new clsConnection($GLOBALS['DBHOST'], $GLOBALS['DBNAME_EOFFICE'], $GLOBALS['DBUSER_EOFFICE'], $GLOBALS['DBPASS_EOFFICE']);
$oDatt = new Docattatches($oC);
$oDatt2 = new Docattatches($oC);
$oDatt3 = new Docattatches($oC);
$oDatt1 = new Docattatches($oC);
$oDtmp = new DocattatchesTmp($oC);
$oSys = new sysConfig($oC);

$oSys->RSsysConfig();
$oSys->GetRecord();


                        
$showdetaildoc="<table width=\"100%\" border=1 cellpadding=\"0\" cellspacing=\"0\" bordercolor=\"#6CABF9\" style=\"border-collapse:collapse\">";                
                
$countAllDoc=$oDtmp->CountDocDlcID($DLCID)+$oDatt->CountDocByDocID($DocID);
                
                
                
$showdetaildoc=$showdetaildoc."<tr><td width=\"246\" bgcolor=".$GLOBALS["COLOR_BG_TD_20"]." align=left>";
                
$showdetaildoc=$showdetaildoc."<font size=\"2\" color=".$GLOBALS["COLOR_FONT_2"].">";
                
$showdetaildoc=$showdetaildoc."&nbsp;<img src=\"../picture/attach_ico.gif\"   border=\"0\">&nbsp;á¿éÁ·Õèà¡ÕèÂÇ¢éͧ&nbsp;".a2th($countAllDoc)."&nbsp;ÃÒ¡ÒÃ</font>";
                
$showdetaildoc=$showdetaildoc."</td></tr>";
                
$showdetaildoc=$showdetaildoc."<tr><td height=\"68\" align=left>";
                
                
$oDatt->SearchByDocID($DocID);
                while(
$oDatt->GetRecord()){  $c++;  $pathfile=$GLOBALS['path_download_documents'].$oDatt->DaUpFileName;
                    
$showdetaildoc=$showdetaildoc."&nbsp;<a href=".$pathfile." target=\"_blank\"><img src=\"../picture/allregistered_ico.gif\" title=\"à»Ô´´Ùá¿éÁ˹ѧÊ×Í\"  border=\"0\"  style=\"cursor:pointer;\" ></a>&nbsp;";
                    
$showdetaildoc=$showdetaildoc."<img src=\"../picture/delete1.gif\" title=\"źá¿éÁ˹ѧÊ×Í\"  border=\"0\" style=\"cursor:pointer;\"  onClick=\"startDel(".$oDatt->DaID.",".$DocID.",".$DLCID.")\">&nbsp;";
                    
$showdetaildoc=$showdetaildoc.a2th($c).".&nbsp;".$oDatt->DaFileName."<br>";    
                } 
                

                
$showdetaildoc=$showdetaildoc."<br></td></tr></table>";
return 
$showdetaildoc;
}
?>

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