403Webshell
Server IP : 208.122.213.31  /  Your IP : 216.73.216.185
Web Server : Apache
System : Linux msd6191.mjhst.com 4.18.0-553.137.1.el8_10.x86_64 #1 SMP Wed Jun 24 11:40:24 UTC 2026 x86_64
User : WHMCS_MIA_382 ( 1001)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/httpd/html/www.superporner.com/porn/admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/httpd/html/www.superporner.com/porn/admin/delete_content.php
<? 
include('db.php'); 
$id = mysql_real_escape_string($_GET[id]);
if(!is_numeric($id)) { exit(); } 
$result = mysql_query("SELECT * FROM content WHERE record_num = '$id'");
$row = mysql_fetch_assoc($result);
$data = mysql_real_escape_string(serialize($row)); 
$time = date('Y-m-d H:i:s');
mysql_query("INSERT INTO content_deleted SET content = '$id', `date` = '$time', data = '$data'");
if($row[photos] == 1) {
	delete_folder($gallery_path.'/'.$row[filename]);
} 
else {
	if($row[approved] == 2) { 
		$first = $row[filename][0];
		$second = $row[filename][1]; 
		$third = $row[filename][2];
		$forth = $row[filename][3]; 
		$fifth = $row[filename][4]; 	
		$subdir = $first.'/'.$second.'/'.$third.'/'.$forth.'/'.$fifth.'/'; 
		@unlink($video_path.'/'.$subdir.$row[filename]); 
		if($row[mobile]) {
			@unlink($video_path.'/'.$subdir.$row[mobile]); 
		}
		if($row[trailer_filename]) { 
			@unlink($video_path.'/'.$subdir.$row[trailer_filename]); 
		}
		@unlink($content_path.'/'.$row[orig_filename]); 
		$dirname = str_replace('.flv','',$row[orig_filename]);
		if(!$row[embed] && $row[photos] ==1 ) { 
			$dirname = str_replace('.flv','',$row[orig_filename]);
			delete_folder($thumb_path.'/'.$subdir.$dirname);
		}
	} else { 
		@unlink($content_path.'/'.$row[orig_filename]); 
	}
}
mysql_query("DELETE FROM content WHERE record_num = '$id'") or die(mysql_error());
mysql_query("DELETE FROM content_views WHERE content = '$id'") or die(mysql_error());
mysql_query("DELETE FROM content_niches WHERE content = '$id'") or die(mysql_error());
mysql_query("DELETE FROM content_pornstars WHERE content = '$id'");
header("Location: $_SERVER[HTTP_REFERER]");
exit();
?>

Youez - 2016 - github.com/yon3zu
LinuXploit