home
/
aioutajg
/
public_html
/
converter
/
Go to Home Directory
+
Upload
Create File
root@0UT1S:~$
Execute
By Order of Mr.0UT1S
[DIR] ..
N/A
[DIR] assets
N/A
[DIR] parts
N/A
convert.php
6.29 KB
Rename
Delete
delete.php
466 bytes
Rename
Delete
download.php
765 bytes
Rename
Delete
error_log
954 bytes
Rename
Delete
index.php
4.97 KB
Rename
Delete
<?php $uploadDir = __DIR__ . '/../../uploads/'; if (isset($_GET['file'])) { $file = basename($_GET['file']); $filePath = $uploadDir . $file; if (file_exists($filePath)) { // Set headers for secure download header('Content-Description: File Transfer'); header('Content-Type: application/octet-stream'); header('Content-Disposition: attachment; filename="' . $file . '"'); header('Expires: 0'); header('Cache-Control: must-revalidate'); header('Pragma: public'); header('Content-Length: ' . filesize($filePath)); readfile($filePath); exit; } else { die('Error: File not found.'); } } else { die('Error: No file specified.'); } ?>
Save