!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.17%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     showSendDocSign2.php (4.97 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="100%" border="0" align="center" cellpadding="0" cellspacing="1" >
  <tr bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_2"]; ?>" height=22>
    <td align="left" colspan="3">&nbsp;รายละเอียดการส่งหนังสือ</td>
  </tr>
  <?     $oRs7->SearchByKey($oRs->DrsFromDrsID); $oRs7->GetRecord(); 
              if(
$oRs7->DrsByPass!="Y"){ ?>
  <tr height=22 > 
    <td width="31%"  bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_1"]; ?>">&nbsp;&nbsp;<strong>การบันทึกต่อเนื่อง</strong></td>
    <td width="1%"  align="center" ><strong>:</strong></td>
    <td width="68%" bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_16"]; ?>" align="left">&nbsp;&nbsp;
    <? echo nl2br($oRs->DrsSign);?>
    </td>
  </tr>
  <tr>
 <td width="31%"  bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_1"]; ?>">&nbsp;&nbsp;<strong>ผู้ลงนาม</strong></td>
 <td width="1%"  align="center" ><strong>:</strong></td>
 <td width="68%" bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_16"]; ?>" align="center"> 
      <? $oPS6->SearchByKey($oRs->DrsPsIDCreate); $oPS6->GetRecord();   ?>
      <? echo "&nbsp;".GetPrefix($oPS6->prefixId).$oPS6->fName."&nbsp;".$oPS6->lName."<br>"?> 
      <?     $oDlc6->SearchByKey($oRs->DrsDlcIDCreate); $oDlc6->GetRecord();             
                  
$oDlp2->SearchByKey($oDlc6->DlpID);  $oDlp2->GetRecord();
                    echo 
"&nbsp;(".$oDlp2->DlpName.")<br>"
                    list(
$DocD,$DocT) = split(' ',$oRs7->DrsSendDate);
                   echo 
abbreDate2($DocD,'/')."&nbsp;".a2th($DocT)."&nbsp;";             
        
?>
    <br><br></td>
  </tr>
  <? ?>
  <? if($oRs->DrsSendDocNew!="0000-00-00 00:00:00"){  ?>
                                  <tr><td bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_21"]; ?>">&nbsp;&nbsp;<strong>ส่งเพิ่มเติม</strong></td>
                                            <td><strong>:</strong></td>
                                            <td bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_22"]; ?>">&nbsp;&nbsp;&nbsp;
                                            <? list($DocD2,$DocT2) = split(' ',$oRs->DrsSendDocNew);
                                                echo 
abbreDate2($DocD2,'/')."&nbsp;".a2th($DocT2); 
                                             
?></td>
                                </tr>
                                <? ?>
  <? if($oRs->PtID!="0"){ ?>
  <tr height=22 > 
    <td width="31%"  bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_1"]; ?>">&nbsp;&nbsp;<strong>ลักษณะหนังสือ</strong></td>
    <td width="1%"  align="center" ><strong>:</strong></td>
    <td width="68%" bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_16"]; ?>" align="left">&nbsp;&nbsp;
            <? $oPt->SearchByKey($oRs->PtID);
                    
$oPt->GetRecord();
                    echo 
$oPt->PtName;
                        if(
$oRs->PtID!="1" &&  $oRs->PtID!="2" && $oRs->PtID!="6"){   
                                    
$canselect=1;     
                        }   
            
?>
    </td>
  </tr>
  <? ?>
  <? if($oRs->AnID!="0"){ ?>
   <tr height=22 > 
    <td width="31%"  bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_1"]; ?>">&nbsp;&nbsp;<strong>ข้อมูลขึ้นเว็บ</strong></td>
    <td width="1%"  align="center" ><strong>:</strong></td>
    <td width="68%" bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_16"]; ?>" align="left">&nbsp;&nbsp;
            <? $oAn->SearchByKey($oRs->AnID);
            
$oAn->GetRecord();
            echo 
$oAn->AnName;
            
?>
            <br>&nbsp;&nbsp;&nbsp;&nbsp;แจ้งขึ้นเว็บ&nbsp;<? echo ShowNameonweb($oDoc->DocShowInOut); ?>
            <br>&nbsp;&nbsp;&nbsp;วันที่ประกาศขึ้นเว็บ&nbsp;
                                        <?  if($oRs->DrsstartDatePost!="0000-00-00"){
                                                        if(
$oRs->DrsstartDatePost==$oRs->DrsendDatePost){ 
                                                            echo 
"&nbsp;".abbreDate2($oRs->DrsstartDatePost,'/');
                                                        }else{
                                                             echo  
abbreDate2($oRs->DrsstartDatePost,'/')."<br>&nbsp;&nbsp;&nbsp;ถึง&nbsp;".abbreDate2($oRs->DrsendDatePost,'/');
                                                        }
                                                    }
                                            
?>
    </td>
  </tr>
  <? ?>
   
  <tr height=50> 
    <td width="31%"  bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_1"]; ?>">&nbsp;&nbsp;<strong>ผู้บันทึก/<br>&nbsp; ผู้ส่งหนังสือ</strong></td>
    <td width="1%"  align="center"><strong>:</strong></td>
    <td width="68%" bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_16"]; ?>" align="center"> 
      <? $oPS->SearchByKey($oRs->DrsReceivePersonId); $oPS->GetRecord();   ?>
      <? echo "&nbsp;".GetPrefix($oPS->prefixId).$oPS->fName."&nbsp;".$oPS->lName."<br>"
              
$oDlc7->SearchByKey($oRs->DlcID); $oDlc7->GetRecord(); 
      
?> 
      <?     $oDlp->SearchByKey($oDlc7->DlpID);  $oDlp->GetRecord();
                    echo 
"&nbsp;(".$oDlp->DlpName.")<br>"
                    list(
$DocD,$DocT) = split(' ',$oRs->DrsSendDate);
                   echo 
abbreDate2($DocD,'/')."&nbsp;".a2th($DocT)."&nbsp;"
        
?>
    </td>
  </tr>
  <? if($oRs->DrsDocDueDate !="0000-00-00"){  ?>
  <tr><td colspan="3"><br>
  <fieldset>
      <legend>กำหนดระยะเวลาดำเนินการ</legend>
      <table width="100%"><tr> 
      <td width="31%">&nbsp; <input name="checkDocSpeedDate" type="checkbox" value="Y" checked disabled>
           <strong>ภายในวันที่ </strong>&nbsp;<? echo abbreDate2($oRs->DrsDocDueDate,'/');             ?></td></tr>
      
      </table>
</fieldset>    
  </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.0069 ]--