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


Viewing file:     AddStdSucc.php (2.9 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);
?>
<html>
<head>
<title>Add Student Problem</title>
<link rel="stylesheet" href="../../../css/style1.css" type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=windows-874">
</head>

<body bgcolor="#FFFFFF">
<table width="95%" border="0" align="center" cellpadding="0" cellspacing="1" bordercolor="#006699">
  <tr bgcolor="#E8EEFD"> 
    <td colspan="4"> <div align="center"><strong><font color="#003366" size="4" face="Tahoma">แบบบันทึกบัณฑิตได้งานภายใน 
        1 ปี </font></strong></div></td>
  </tr>
  <form action="../../../Std_Acc_depart/Advice/InsertAdvice.php" method="post">
    <tr bgcolor="#EEEEEE"> 
      <td width="31%"><div align="center"><font color="#003366" size="2" face="Tahoma">ปีการศึกษา</font></div></td>
      <td width="2%" bordercolor="#006699"><font size="2" face="Tahoma">&nbsp;</font></td>
      <td width="67%" colspan="2" bordercolor="#006699"><font size="2" face="Tahoma">
        <select name="select">
        </select>
        </font></td>
    </tr>
    <tr bgcolor="#EEEEEE"> 
      <td><div align="center"><font color="#003366" size="2" face="Tahoma">จำนวนที่ได้งานใน 
          1 ปีและการประกอบอาชีพอิสระ</font></div></td>
      <td bordercolor="#006699"><font size="2" face="Tahoma">&nbsp;</font></td>
      <td colspan="2" bordercolor="#006699" bgcolor="#EEEEEE"> <font size="2" face="Tahoma"> 
        <input type="text" name="textfield">
        คน</font></td>
    </tr>
    <tr bgcolor="#EEEEEE"> 
      <td height="20">&nbsp;</td>
      <td bordercolor="#006699">&nbsp;</td>
      <td colspan="2" bordercolor="#006699" bgcolor="#EEEEEE"><font size="2" face="Tahoma">&nbsp;</font></td>
    </tr>
    <tr bgcolor="#EEEEEE"> 
      <td><div align="center"><font color="#003366" size="2" face="Tahoma">วันที่บันทึก</font></div></td>
      <td bordercolor="#006699"><font size="2" face="Tahoma">&nbsp;</font></td>
      <td colspan="2" bordercolor="#006699" bgcolor="#EEEEEE"><font size="2" face="Tahoma"> 
        <select name="mDate" id="mDate">
          <? getDay1to31()?>
        </select>
        เดือน 
        <select name="mMonth" id="mMonth">
          <? getThaiMonth()?>
        </select>
        ปี พ.ศ. 
        <input name="mYear" type="text" id="mYear" size="5">
        </font></td>
    </tr>
    <tr bgcolor="#E8EEFD"> 
      <td colspan="4"> <div align="center"> 
          <input name="Student_id" type="hidden" id="Student_id" value="<? echo $rs[Student_id]?>">
          <input type="submit" name="Submit3" value="    เพิ่ม    ">
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
          <input type="reset" name="Submit22" value="   เคลียร์   ">
        </div></td>
    </tr>
  </form>
</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.0141 ]--