One Hat Cyber Team
Your IP :
18.191.203.35
Server IP :
50.28.103.30
Server :
Linux host.jcukjv-lwsites.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
Server Software :
nginx/1.24.0
PHP Version :
8.3.12
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
www
/
wwwroot
/
pass.electronharmony.com
/
fns
/
files
/
Edit File:
copy.php
<?php $result = false; if (isset($data['from']) && !empty($data['from']) && isset($data['to']) && !empty($data['to'])) { if (isset($data['real_path']) && $data['real_path']) { $copyfrom = $data['from']; $copyto = $data['to']; } else { $copyfrom = 'assets/files/'. $data['from']; $copyto = 'assets/files/'. $data['to']; } if (file_exists($copyfrom)) { if (is_dir($copyfrom)) { $dir_handle = opendir($copyfrom); while ($file = readdir($dir_handle)) { if ($file != "." && $file != "..") { if (is_dir($copyfrom . "/" . $file)) { if (!is_dir($copyto . "/" . $file)) { mkdir($copyto . "/" . $file); } $newdata['real_path'] = true; $newdata['from'] = rtrim($copyfrom, '/').'/'.$file; $newdata['to'] = rtrim($copyto, '/').'/'.$file; files('copy', $newdata); } else { copy($copyfrom . "/" . $file, $copyto . "/" . $file); } } } closedir($dir_handle); } else { copy($copyfrom, $copyto); } $result = true; } } ?>
Simpan