⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.142
Server IP:
217.76.53.76
Server:
Linux vmi1397931.contaboserver.net 5.4.0-105-generic #119-Ubuntu SMP Mon Mar 7 18:49:24 UTC 2022 x86_64
Server Software:
Apache
PHP Version:
8.2.27
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
www
/
wwwroot
/
welcome.nuttybe.com
/
View File Name :
download.php
where('id', Generic::secure($_GET['id']))->getOne(T_STORE); if (empty($getImage)) { exit('File not found.'); } if (!empty($_SESSION['csrf']) && !empty($_GET['hash'])) { if ($_SESSION['csrf'] == $_GET['hash']) { if (IS_LOGGED) { $can_download = false; //$isPurchased = is_store_item_purchased(Generic::secure($_GET['id'])); //if( !$isPurchased ) { update_store_image_downloads(Generic::secure($_GET['id'])); //} $basename = basename($getImage->full_file); $file_name = __DIR__ . DIRECTORY_SEPARATOR . $getImage->full_file; $mime = ($mime = getimagesize($file_name)) ? $mime['mime'] : $mime; $size = filesize($file_name); $fp = fopen($file_name, "rb"); if (!($mime && $size && $fp)) { exit('Error while downloading image.'); } header("Content-type: " . $mime); header("Content-Length: " . $size); header("Content-Disposition: attachment; filename=" . $basename); header('Content-Transfer-Encoding: binary'); header('Cache-Control: must-revalidate, post-check=0, pre-check=0'); fpassthru($fp); exit(); } } else { exit('Please click on download link again, this link is expired'); } } ?>