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/webboard/ drwxr-xr-x |
Viewing file: Select action/file-type: <? require("config.inc.php"); ?> <html> <head> <title><?echo $title?></title> <script language="JavaScript" type="text/JavaScript"> <!-- function MM_reloadPage(init) { //reloads the window if Nav4 resized if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) { document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }} else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload(); } MM_reloadPage(true); function MM_openBrWindow(theURL,winName,features) { //v2.0 window.open(theURL,winName,features); } function setsmile(what) { document.Postcomment.CommentText.value = document.Postcomment.elements.CommentText.value+" "+what; document.Postcomment.CommentText.focus(); } //--> </script> </head> <link href="./style.css" rel="stylesheet" type="text/css"> <body bgcolor=#FFFFE0 background="pic/bg2.gif"> <font size=2 face="Arial,MS Sans Serif"> </font> <center> <font size=3 color=#9400D3><b>แก้ไขข้อมูลสมาชิกเว็บบอร์ด</b></font> <br> <br> <? // ตรวจสอบว่ามี username หรือไม่ mysql_connect($host,$user,$passwd); $sql = "select * from webboard_member where User='$uid'"; $result = mysql_db_query($dbname,$sql); $NRow = mysql_num_rows($result); if($NRow==0) { err_msg("Error : Username and Password","กรุณาตรวจสอบอีกครั้ง",""); echo "<br><br><br><br><br><br><br><br><br>\n"; exit(); } $row = mysql_fetch_array($result); $User = $row["User"]; $Password = $row["Password"]; $Email = $row["Email"]; $ICQ = $row["ICQ"]; $WebName = $row["WebName"]; $URL = $row["URL"]; $Profile = $row["Profile"]; $icon = $row["icon"]; // ตรวจสอบการ login if($action=="login") { if($uid!=$User || $pwd!=$Password) { err_msg("Error : Username and Password","กรุณาตรวจสอบอีกครั้ง",""); } } else { err_msg("Error : Method","กรุณา Login ก่อนเข้าระบบ","login.php"); } ?> <form method=post action="register.php" name="webForm" onsubmit="return check()"> <table border=1 bordercolor=#1E90FF bgcolor=E0FFFF cellpadding=3 cellspacing=0> <tr> <td align=left>Username</td> <td><b> <? echo $User;?> </b></td> </tr> <tr> <td align=left>Password</td> <td> <input type=password name="Pass1" size=20 maxlength=10> <font color=red>**</font></td> </tr> <tr> <td align=left>Re-Password</td> <td> <input type=password name="Pass2" size=20 maxlength=10> <font color=red>**</font></td> </tr> <tr> <td align=left>E-mail</td> <td> <input type=text name="Email" size=20 maxlength=30 value="<? echo $Email;?>"> <font color=red>**</font></td> </tr> <tr> <td align=left>ICON</td> <td><font face="MS Sans Serif"> รูป <select class="default_bold" name="b_icon"> <option value="<? echo $icon;?>"><font face="MS Sans Serif"> <? echo $icon;?> </font></option> <option value="001.gif"><font face="MS Sans Serif"> 01 </font></option> <option value="002.gif"><font face="MS Sans Serif"> 02 </font></option> <option value="003.gif"><font face="MS Sans Serif"> 03 </font></option> <option value="004.gif"><font face="MS Sans Serif"> 04 </font></option> <option value="005.gif"><font face="MS Sans Serif"> 05 </font></option> <option value="006.gif"><font face="MS Sans Serif"> 06 </font></option> <option value="007.gif"><font face="MS Sans Serif"> 07 </font></option> <option value="008.gif"><font face="MS Sans Serif"> 08 </font></option> <option value="009.gif"><font face="MS Sans Serif"> 09 </font></option> <option value="010.gif"><font face="MS Sans Serif"> 10 </font></option> <option value="011.gif"><font face="MS Sans Serif"> 11 </font></option> <option value="012.gif"><font face="MS Sans Serif"> 12 </font></option> <option value="013.gif"><font face="MS Sans Serif"> 13 </font></option> <option value="014.gif"><font face="MS Sans Serif"> 14 </font></option> <option value="015.gif"><font face="MS Sans Serif"> 15 </font></option> <option value="016.gif"><font face="MS Sans Serif"> 16 </font></option> <option value="017.gif"><font face="MS Sans Serif"> 17 </font></option> <option value="018.gif"><font face="MS Sans Serif"> 18 </font></option> <option value="019.gif"><font face="MS Sans Serif"> 19 </font></option> <option value="020.gif"><font face="MS Sans Serif"> 20 </font></option> <option value="021.gif"><font face="MS Sans Serif"> 21 </font></option> <option value="022.gif"><font face="MS Sans Serif"> 22 </font></option> <option value="023.gif"><font face="MS Sans Serif"> 23 </font></option> <option value="024.gif"><font face="MS Sans Serif"> 24 </font></option> <option value="025.gif"><font face="MS Sans Serif"> 25 </font></option> <option value="026.gif"><font face="MS Sans Serif"> 26 </font></option> <option value="027.gif"><font face="MS Sans Serif"> 27 </font></option> <option value="028.gif"><font face="MS Sans Serif"> 28 </font></option> <option value="029.gif"><font face="MS Sans Serif"> 29 </font></option> <option value="030.gif"><font face="MS Sans Serif"> 30 </font></option> <option value="031.gif"><font face="MS Sans Serif"> 31 </font></option> <option value="032.gif"><font face="MS Sans Serif"> 32 </font></option> <option value="033.gif"><font face="MS Sans Serif"> 33 </font></option> <option value="034.gif"><font face="MS Sans Serif"> 34 </font></option> <option value="035.gif"><font face="MS Sans Serif"> 35 </font></option> <option value="036.gif"><font face="MS Sans Serif"> 36 </font></option> <option value="037.gif"><font face="MS Sans Serif"> 37 </font></option> <option value="038.gif"><font face="MS Sans Serif"> 38 </font></option> <option value="039.gif"><font face="MS Sans Serif"> 39 </font></option> <option value="040.gif"><font face="MS Sans Serif"> 40 </font></option> <option value="041.gif"><font face="MS Sans Serif"> 41 </font></option> <option value="042.gif"><font face="MS Sans Serif"> 42 </font></option> <option value="043.gif"><font face="MS Sans Serif"> 43 </font></option> <option value="044.gif"><font face="MS Sans Serif"> 44 </font></option> <option value="045.gif"><font face="MS Sans Serif"> 45 </font></option> <option value="046.gif"><font face="MS Sans Serif"> 46 </font></option> <option value="047.gif"><font face="MS Sans Serif"> 47 </font></option> <option value="048.gif"><font face="MS Sans Serif"> 48 </font></option> <option value="049.gif"><font face="MS Sans Serif"> 49 </font></option> <option value="050.gif"><font face="MS Sans Serif"> 50 </font></option> <option value="051.gif"><font face="MS Sans Serif"> 51 </font></option> <option value="052.gif"><font face="MS Sans Serif"> 52 </font></option> <option value="053.gif"><font face="MS Sans Serif"> 53 </font></option> <option value="054.gif"><font face="MS Sans Serif"> 54 </font></option> <option value="055.gif"><font face="MS Sans Serif"> 55 </font></option> <option value="056.gif"><font face="MS Sans Serif"> 56 </font></option> <option value="057.gif"><font face="MS Sans Serif"> 57 </font></option> <option value="058.gif"><font face="MS Sans Serif"> 58 </font></option> <option value="059.gif"><font face="MS Sans Serif"> 59 </font></option> <option value="060.gif"><font face="MS Sans Serif"> 60 </font></option> <option value="061.gif"><font face="MS Sans Serif"> 61 </font></option> <option value="062.gif"><font face="MS Sans Serif"> 62 </font></option> <option value="063.gif"><font face="MS Sans Serif"> 63 </font></option> <option value="064.gif"><font face="MS Sans Serif"> 64 </font></option> <option value="065.gif"><font face="MS Sans Serif"> 65 </font></option> <option value="066.gif"><font face="MS Sans Serif"> 66 </font></option> <option value="067.gif"><font face="MS Sans Serif"> 67 </font></option> <option value="068.gif"><font face="MS Sans Serif"> 68 </font></option> <option value="069.gif"><font face="MS Sans Serif"> 69 </font></option> <option value="070.gif"><font face="MS Sans Serif"> 70 </font></option> <option value="071.gif"><font face="MS Sans Serif"> 71 </font></option> <option value="072.gif"><font face="MS Sans Serif"> 72 </font></option> <option value="073.gif"><font face="MS Sans Serif"> 73 </font></option> <option value="074.gif"><font face="MS Sans Serif"> 74 </font></option> <option value="075.gif"><font face="MS Sans Serif"> 75 </font></option> <option value="076.gif"><font face="MS Sans Serif"> 76 </font></option> <option value="077.gif"><font face="MS Sans Serif"> 77 </font></option> <option value="078.gif"><font face="MS Sans Serif"> 78 </font></option> <option value="079.gif"><font face="MS Sans Serif"> 79 </font></option> <option value="080.gif"><font face="MS Sans Serif"> 80 </font></option> <option value="081.gif"><font face="MS Sans Serif"> 81 </font></option> <option value="082.gif"><font face="MS Sans Serif"> 82 </font></option> <option value="083.gif"><font face="MS Sans Serif"> 83 </font></option> <option value="084.gif"><font face="MS Sans Serif">84 </font></option> <option value="085.gif"><font face="MS Sans Serif"> 85 </font></option> <option value="086.gif"><font face="MS Sans Serif"> 86 </font></option> <option value="087.gif"><font face="MS Sans Serif"> 87 </font></option> <option value="088.gif"><font face="MS Sans Serif"> 88 </font></option> <option value="089.gif"><font face="MS Sans Serif"> 89 </font></option> <option value="090.gif"><font face="MS Sans Serif"> 90</font></option> <option value="091.gif"><font face="MS Sans Serif"> 91 </font></option> <option value="092.gif"><font face="MS Sans Serif"> 92 </font></option> <option value="093.gif"><font face="MS Sans Serif"> 93 </font></option> <option value="094.gif"><font face="MS Sans Serif"> 94 </font></option> <option value="095.gif"><font face="MS Sans Serif"> 95 </font></option> <option value="096.gif"><font face="MS Sans Serif"> 96 </font></option> <option value="097.gif"><font face="MS Sans Serif"> 97 </font></option> <option value="098.gif"><font face="MS Sans Serif"> 98 </font></option> <option value="099.gif"><font face="MS Sans Serif"> 99 </font></option> <option value="100.gif"><font face="MS Sans Serif"> 100 </font></option> <option value="101.gif"><font face="MS Sans Serif"> 101 </font></option> <option value="102.gif"><font face="MS Sans Serif"> 102 </font></option> <option value="103.gif"><font face="MS Sans Serif"> 103 </font></option> <option value="104.gif"><font face="MS Sans Serif"> 104 </font></option> <option value="105.gif"><font face="MS Sans Serif"> 105 </font></option> <option value="106.gif"><font face="MS Sans Serif"> 106 </font></option> <option value="107.gif"><font face="MS Sans Serif"> 107 </font></option> <option value="108.gif"><font face="MS Sans Serif"> 108 </font></option> <option value="109.gif"><font face="MS Sans Serif"> 109 </font></option> <option value="110.gif"><font face="MS Sans Serif"> 110 </font></option> <option value="111.gif"><font face="MS Sans Serif"> 111 </font></option> <option value="112.gif"><font face="MS Sans Serif"> 112 </font></option> <option value="113.gif"><font face="MS Sans Serif"> 113 </font></option> <option value="114.gif"><font face="MS Sans Serif"> 114 </font></option> <option value="115.gif"><font face="MS Sans Serif"> 115 </font></option> <option value="116.gif"><font face="MS Sans Serif"> 116 </font></option> <option value="117.gif"><font face="MS Sans Serif"> 117 </font></option> <option value="118.gif"><font face="MS Sans Serif"> 118 </font></option> <option value="119.gif"><font face="MS Sans Serif"> 119 </font></option> <option value="120.gif"><font face="MS Sans Serif"> 120 </font></option> <option value="121.gif"><font face="MS Sans Serif"> 121 </font></option> </select> <font color="#000000" onClick="MM_openBrWindow('icon.html','','scrollbars=yes,width=650,height=550')"><a href="#post">LIST</a> <font color=red>(Option)</font> </font></font></td> </tr> <tr> <td align=left>ICQ</td> <td> <input type=text name="ICQ" size=20 maxlength=15 value="<? echo $ICQ;?>"> <font color=red>(Option)</font></td> </tr> <tr> <td align=left>Web Name</td> <td> <input type=text name="WebName" size=40 maxlength=80 value="<? echo $WebName;?>"> <font color=red>(Option)</font></td> </tr> <tr> <td align=left>URL</td> <td> <input type=text name="URL" size=40 maxlength=80 value="<? echo $URL;?>"> <font color=red>(Option)</font></td> </tr> <tr> <td align=left>Profile</td> <td> <textarea name="Profile" cols=50 rows= 5 value="<? echo $Profile;?>"></textarea> </td> </tr> </table> <br> <input type="hidden" name="Category" value="<?echo $Category;?>"> <input type="hidden" name="page" value="<?echo $page;?>"> <input type="hidden" name="User" value="<?echo $User;?>"> <input type="hidden" name="action" value="edit"> <input type=submit value="บันทึกข้อมูล"> </form> <font size=2 face="MS Sans Serif"> [ <a href="../webboard/webboard.php?Category=<? echo $Category; ?>&page=<? echo $page; ?>">ไปหน้าเว็บบอร์ด</a> | <a href="../webboard/addmember.php?Category=<? echo $Category; ?>&page=<? echo $page; ?>">สมัครสมาชิก</a> ] </font> <script language="JavaScript"> <!-- function check() { var v1 = document.webForm.Pass1.value; var v2 = document.webForm.Pass2.value; var v3 = document.webForm.Email.value; if (v1.length==0) { alert("กรุณากำหนด Password"); document.webForm.Pass1.focus(); return false; } else if (v2.length==0) { alert("กรุณาป้อน Password อีกครั้ง"); document.webForm.Pass2.focus(); return false; } else if (v3.length==0) { alert("กรุณาป้อน Email Address"); document.webForm.Email.focus(); return false; } else return true; } //--> </script> </center> </body> </html> <? function err_msg($topic,$detial,$url) { echo "<center>"; echo "<table width=60% border=1 bordercolor=#ff69b4 bgcolor=#f0ffff cellpadding=2 cellspacing=0>"; echo "<tr><td align=center>"; echo "<font size=2 face='MS Sans Serif'>"; echo "<font size=3 color=red><b>$topic</b></font><br><br>"; echo $detial; echo "</font></td></tr></table>"; echo "<br>"; echo "<font size=2 face='MS Sans Serif'>"; if(!$url) { echo "[<a href='javascript:history.back(1)'>Back</a>]"; } else { echo "[<a href='$url'>Back</a>]"; } echo "</font><br><br>"; echo "</center>"; exit(); } ?> |
:: 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.0064 ]-- |