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


Viewing file:     FrmProduct.php (6.49 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

include("../../include/FunctionDB.php");
include(
"../../include/Function.php");
ConnectDB();
  
$sql ="SELECT * FROM personal_tb WHERE Teacher_code='$Teacher_code'";
  
$result mysql_query($sql) or die("Cannot Select").mysql_error();
  
$rs mysql_fetch_array($result);
?>



<html>
<head>
<title>Form insert Edu Product</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-874">
<link rel="stylesheet" href="../css/cart4.css" type="text/css">
<link href="../../css/style1.css" rel="stylesheet" type="text/css">
</head>

<body bgcolor="#FFFFFF">
<table width="95%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#E5E5E5" style="border:1px solid gray" size="12">
  <tr bgcolor="#D5F0F9"> 
    <td colspan="3"> <div align="center"><font color="#000000" size="4" face="Tahoma"><strong>เพิ่มผลงานการผลิต 
        และ เผยแพร่ </strong></font></div></td>
  </tr>
  <form name="form1" method="POST" action="InsertProduction.php">
    <tr bgcolor="#eeeeee"> 
      <td bgcolor="#eeeeee"><div align="center"><font size="2" face="Tahoma">ชื่อ-นามสกุล</font>&nbsp;</div></td>
      <td bordercolor="#FEEDF9"><div align="center"><font color="#FF0000" size="4" face="Tahoma"></font></div></td>
      <td bordercolor="#F2DEFE"><div align="left"><font color="#003366" size="2" face="Tahoma"> 
          <strong> &nbsp;<? echo $rs[First_name] ;?>&nbsp;<? echo $rs[Teacher_name] ;?> 
          &nbsp;&nbsp;<? echo $rs[Teacher_lastname] ;?> </strong></font></div></td>
    </tr>
    <tr bgcolor="#eeeeee"> 
      <td width="27%"> <div align="center"><font size="2" face="Tahoma">ชื่อผลงาน</font></div></td>
      <td width="2%" bordercolor="#FEEDF9"><div align="center"><font color="#FF0000" size="4" face="Tahoma"><strong>*</strong></font></div></td>
      <td width="71%" bordercolor="#F2DEFE"> <input name="Product_name" type="text" class="input" id="Product_name" size="50" ></td>
    </tr>
    <tr bgcolor="#eeeeee"> 
      <td height="52"> <div align="center"><font size="2" face="Tahoma">ประเภทผลงาน</font></div></td>
      <td bordercolor="#FEEDF9">&nbsp;</td>
      <td bordercolor="#F2DEFE"> <table width="100%" border="0" align="center" cellpadding="0" cellspacing="1">
          <tr> 
            <td width="50%"><font size="2" face="Tahoma"> 
              <input type="radio" name="Product_type" value="เอกสารประกอบการสอน">
              เอกสารประกอบการสอน</font></td>
            <td width="50%"><font size="2" face="Tahoma"> 
              <input type="radio" name="Product_type" value="เอกสารประกอบคำบรรยาย">
              เอกสารประกอบคำบรรยาย </font></td>
          </tr>
          <tr> 
            <td><font size="2" face="Tahoma"> 
              <input type="radio" name="Product_type" value="สื่อการเรียนการสอน">
              สื่อการเรียนการสอน </font></td>
            <td><font size="2" face="Tahoma"> 
              <input type="radio" name="Product_type" value="การผลิตตำรา">
              การผลิตตำรา </font></td>
          </tr>
          <tr> 
            <td><font size="2" face="Tahoma"> 
              <input type="radio" name="Product_type" value="สิ่งประดิษฐ์">
              สิ่งประดิษฐ์</font></td>
            <td><font size="2" face="Tahoma"> 
              <input type="radio" name="Product_type" value="เอกสารวิชาการ">
              เอกสารวิชาการ </font></td>
          </tr>
        </table></td>
    </tr>
    <tr bgcolor="#eeeeee">
      <td><div align="center"><font color="#000000" size="2" face="Tahoma">ปีการศึกษา</font></div></td>
      <td bordercolor="#FEEDF9">&nbsp;</td>
      <td bordercolor="#F2DEFE"><input name="Term" type="text" id="Term" size="10"></td>
    </tr>
    <tr bgcolor="#eeeeee"> 
      <td> <div align="center"><font size="2" face="Tahoma">วััน/เดือน/ปี เริ่มผลิต</font></div></td>
      <td bordercolor="#FEEDF9"><font size="2" face="Tahoma">&nbsp;</font></td><td bordercolor="#F2DEFE"> <div align="left"> 
          <select name="mDate" id="mDate" class="select">
            <? getDay1to31();?>
          </select>
          - 
          <select name="mMonth" id="mMonth" class="select">
            <? getThaiMonth();?>
          </select>
          - 
          <input name="mYear" type="text" class="input1" id="mYear" size="5">
          <font size="2" face="Tahoma">&nbsp;แล้วเสร็จ 
          <select name="mDate2" id="mDate2" class="select">
            <? getDay1to31();?>
          </select>
          - 
          <select name="mMonth2" id="mMonth2" >
            <? getThaiMonth();?>
          </select>
          - 
          <input name="mYear2" type="text" size="5" class="input1">
          </font></div></td>
    </tr>
    <tr bgcolor="#eeeeee"> 
      <td height="26"> <div align="center"><font size="2" face="Tahoma">การเผยแพร่</font></div></td>
      <td bordercolor="#FEEDF9">&nbsp;</td>
      <td bordercolor="#F2DEFE"> <input name="Propagate " type="text" id="Propagate " size="50" class="input1"></td>
    </tr>
    <tr bgcolor="#eeeeee"> 
      <td height="24"> <div align="center"><font size="2" face="Tahoma">แหล่งงบประมาณ 
          </font> </div></td>
      <td bordercolor="#FEEDF9">&nbsp;</td>
      <td bordercolor="#F2DEFE"> <font color="#000000" size="2" face="Tahoma"> 
        <input name="Fund_resource" type="text" class="input1" id="Fund_resource" size="30" >
        </font><font size="2" face="Tahoma">งบประมาณ</font><font color="#000000" size="2" face="Tahoma"> 
        <input name="Fund" type="text" class="input1" id="Fund" >
        บาท </font></td>
    </tr>
    <tr bgcolor="#eeeeee"> 
      <td height="58"> <div align="center"><font size="2" face="Tahoma">ประโยชน์ของผลงาน</font></div></td>
      <td bordercolor="#FEEDF9">&nbsp;</td>
      <td bordercolor="#F2DEFE"> <textarea name="Benefit" cols="50" rows="5" id="Benefit" class="input1"></textarea></td>
    </tr>
    <tr bgcolor="#eeeeee"> 
      <td> <div align="center"><font size="2" face="Tahoma">การนำไปใช้อ้างอิง่</font></div></td>
      <td bordercolor="#FEEDF9">&nbsp;</td>
      <td bordercolor="#F2DEFE"> <textarea name="Use_ref" cols="50" rows="5" class="input1" id="Use_ref"></textarea></td>
    </tr>
    <tr bgcolor="#D5F0F9"> 
      <td colspan="3"> <div align="center"> 
          <input type="hidden" name="Teacher_code" value="<? echo $rs[Research_code]?>">
          <input type="hidden" name="Teacher_code" value="<? echo $rs[Teacher_code]?>">
          <input type="submit" name="Submit" value="  เพิ่มข้อมูล  " class="button">
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
          <input type="reset" name="Submit2" value="   เริ่มใหม่   " class="button">
        </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 ::
 
[ 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.0167 ]--