'; echo ''; echo ''; echo '
'; echo '
'; echo '
'; echo '
'; echo '
SCANNER BACKDOOR SEMOGA BERKAH
'; echo '
'; echo ''; echo "[Self Delete]
"; echo '


'; echo "CURRENT DIR: $path
"; if(isset($_GET['delete'])){ unlink($_GET['delete']); $status = "FAILED"; if(!file_exists($_GET['delete'])){ $status = "Success"; } echo "TRY TO DELETE: ".$_GET['delete']." $status
";exit; } scanBackdoor($path); function save($fname,$value){ $file = fopen($fname, "a"); fwrite($file, $value); fclose($file);// } // $domain = $_SERVER['REQUEST_SCHEME'].'//'.$_SERVER['SERVER_NAME']; function checkBackdoor($file_location){ global $path; $patern = "#exec\(|gzinflate\(|file_put_contents\(|file_get_contents\(|system\(|passthru\(|shell_exec\(|move_uploaded_file\(|eval\(|base64#"; $contents = file_get_contents($file_location); if(strlen($contents)> 0){ if(preg_match($patern, strtolower($contents))){ echo "[+] Susspect file -> $file_location [DELETE]
"; save("wop.txt","$file_location\n"); echo '

'; } } } function scanBackdoor($current_dir){ if(is_readable($current_dir)){ $dir_location = scandir($current_dir); foreach ($dir_location as $file) { if($file === "." | $file === ".."){ continue; } $file_location = str_replace("//", "/",$current_dir.'/'.$file); $nFile = substr($file, -4, 4); if($nFile == ".php"){ checkBackdoor($file_location); }else if(is_dir($file_location)){ scanBackdoor($file_location); } } } } ?>