SHARE
TWEET

Untitled

a guest Apr 18th, 2019 124 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. function getStr($content,$start,$end){
  3.     $r = explode($start, $content);
  4.     if (isset($r[1])){
  5.         $r = explode($end, $r[1]);
  6.         return $r[0];
  7.     }
  8.     return '';
  9. }
  10. function randHpr($length = 10) {
  11.     $characters = '0123456789abcdefghijklmnopqrstuvwxyz';
  12.     $charactersLength = strlen($characters);
  13.     $randomString = '';
  14.     for ($i = 0; $i < $length; $i++) {
  15.         $randomString .= $characters[rand(0, $charactersLength - 1)];
  16.     }
  17.     return $randomString;
  18. }
  19. function reg($e,$r){
  20. $ch = curl_init();
  21. $data = 'email='.$e.'&password=SusuKNTL12#&monetize=1&referral_id='.$r;
  22.  
  23. curl_setopt($ch, CURLOPT_URL, 'https://api.bigtoken.com/signup');
  24. curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  25. curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
  26. curl_setopt($ch, CURLOPT_POST, 1);
  27. curl_setopt($ch, CURLOPT_ENCODING, 'gzip, deflate');
  28.         curl_setopt($ch, CURLOPT_HEADER, 1);
  29.         curl_setopt($ch, CURLOPT_NOBODY, 0);
  30.     curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
  31.     curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
  32. $headers = array();
  33. $headers[] = 'X-Client-ID: WW1GelpUWTBPbnBFY1hBMFVrTnNWbUZ4VTNsbFVHSnVlV3BTWm1rd1JrWkhlbHBxWm5OaFVsWjJhM3BhUkhocloyczk=';
  34. $headers[] = 'Accept: application/json';
  35. $headers[] = 'User-Agent: BIGtoken/1.0.6.2 Dalvik/2.1.0 Linux; U; Android '.rand(5,8).'.1.0; '.randHpr(16).' Build/25';
  36. $headers[] = 'Content-Type: application/x-www-form-urlencoded';
  37. $headers[] = 'Host: api.bigtoken.com';
  38. $headers[] = 'Connection: Keep-Alive';
  39. $headers[] = 'Accept-Encoding: gzip';
  40. curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
  41.  
  42. return curl_exec($ch);
  43. curl_close ($ch);
  44. }
  45. echo "==========================================";
  46. echo "\r\n";
  47. echo "Bigtoken X HanungPangestu X SGBTeam - 2019";
  48. echo "\r\n";
  49. echo "==========================================";
  50. echo "\r\n";
  51. echo "Kode Referral ? : ";
  52. $reff = trim(fgets(STDIN));
  53. echo "Berapa ? : ";
  54. $jumlah = trim(fgets(STDIN));
  55. echo "==========================================";
  56. echo "\r\n";
  57. $i=1;
  58. while($i <= $jumlah){
  59.     $getmail = json_decode(file_get_contents('https://hanungofficial.club/api/bigtoken/generate.php'));
  60.     $status = $getmail->result;
  61.     if ($status == "1"){
  62.         echo '['.$i.'/'.$jumlah.'] [ '.$reff.' ] => Failed generate email';
  63.         echo "\r\n";
  64.     } else if ($status =="0") {
  65.         $email = $getmail->message;
  66.         $regist = reg($email,$reff);
  67.         $hpr = getStr($regist,'"bigid":"','"');
  68.         if (stripos($regist, 'Too Many Attempts.')) {
  69.             $lim = getStr($regist,'Retry-After: ','
  70. X-RateLimit-Reset');
  71.             $limit = explode("\r", $lim);
  72.             $hprz = $limit[0]+1;
  73.             echo '['.$i.'/'.$jumlah.'] [ '.$reff.' ] => Too Many Attempts. ( Tunggu '.$hprz.' detik )';
  74.             echo "\r\n";
  75.             sleep($hprz);
  76.         } else if (stripos($regist, 'The email has already been taken.')) {
  77.             echo '['.$i.'/'.$jumlah.'] [ '.$reff.' ] => The email has already been taken.';
  78.             echo "\r\n";
  79.         } else if ($hpr) {
  80.             echo '['.$i.'/'.$jumlah.'] [ '.$reff.' ] => Sukses Buat Akun';
  81.             echo "\r\n";
  82.             echo 'Proses Verif, Tunggu 3 detik...';
  83.             echo "\r\n";
  84.             sleep(3);
  85.             $gagal=1;
  86.             reverif:
  87.             if ($gagal == "6"){
  88.                 $fp = fopen("btmissVerif.txt", "a");
  89.                 fputs($fp, "".$get->message."\r\n");
  90.                 fclose($fp);
  91.                 echo '  [ '.$reff.' ] => Gagal Verif';
  92.                 echo "\r\n";
  93.                 echo "\r\n";
  94.             } else {
  95.                 $verif = json_decode(file_get_contents('https://hanungofficial.club/api/bigtoken/domba-konfirm.php?email='.$email));
  96.                 $status2 = $verif->result;
  97.                 if ($status2 == "0"){
  98.                     echo '  [ '.$reff.' ] => '.$verif->message;
  99.                     echo "\r\n";
  100.                     echo "\r\n";
  101.                     $i++;
  102.                 } else if ($status2 == "1"){
  103.                     echo '  [ '.$reff.' ] => '.$verif->message.' ( Tunggu 2 detik ) ( Gagal '.$gagal.'x )';
  104.                     echo "\r\n";
  105.                     sleep(2);
  106.                     $gagal++;
  107.                     goto reverif;
  108.                 } else {
  109.                     echo '  [ '.$reff.' ] => '.$verif->message;
  110.                     echo "\r\n";
  111.                     echo "\r\n";
  112.                 }
  113.             }
  114.         } else if (stripos($regist, 'The referral id format is invalid.')) {
  115.             echo '['.$i.'/'.$jumlah.'] [ '.$reff.' ] => INVALID REFFERAL';
  116.             echo "\r\n";
  117.             exit;
  118.         } else if (stripos($regist, 'INVALID_REFERRAL')) {
  119.             echo '['.$i.'/'.$jumlah.'] [ '.$reff.' ] => INVALID REFFERAL';
  120.             echo "\r\n";
  121.             exit;
  122.         } else if (stripos($regist, 'The email must have a valid domain.')) {
  123.             echo '['.$i.'/'.$jumlah.'] [ '.$reff.' ] => Domain ga support';
  124.             echo "\r\n";
  125.         } else {
  126.             echo '['.$i.'/'.$jumlah.'] [ '.$reff.' ] => Unknown => ( Contact Admin )';
  127.             echo "\r\n";
  128.         }
  129.     } else {
  130.         echo '['.$i.'/'.$jumlah.'] [ '.$reff.' ] => Unknown2 => ( Contact Admin )';
  131.         echo "\r\n";
  132.     }
  133. }
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
 
Top