Advertisement
drculun

gojekbyindox0d3v2 - index.php

Jun 13th, 2022 (edited)
11
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 6.79 KB | None | 0 0
  1. <?php
  2. date_default_timezone_set('Asia/Jakarta');
  3. include "function.php";
  4. echo color("purple","              INDOX0D3\n");
  5. echo color("white","       AUTO CLAIM GOJEK BY INDOX0D3 V2.0\n" );
  6. echo color("white","          ".hari_ini().date('m-Y H:i:s') ." \n\n ");
  7. echo color("white","            Format Nomor Harus 62***\n");
  8. sleep(1);
  9. echo color("white","  ");
  10. function change(){
  11.         $nama = nama();
  12.         $email = str_replace(" ", "", $nama) . mt_rand(100, 999);
  13.         ulang:
  14.         echo color("white","\n NOMOR : ");
  15.         $no = trim(fgets(STDIN));
  16.         $data = '{"email":"'.$email.'@gmail.com","name":"'.$nama.'","phone":"+'.$no.'","signed_up_country":"ID"}';
  17.         $register = request("/v5/customers", null, $data);
  18.         if(strpos($register, '"otp_token"')){
  19.         $otptoken = getStr('"otp_token":"','"',$register);
  20.         echo color("green"," Kode verifikasi sudah di kirim!")."\n";
  21.         otp:
  22.         echo color("white"," OTP : ");
  23.         sleep(2);
  24.         $otp = trim(fgets(STDIN));
  25.         $data1 = '{"client_name":"gojek:cons:android","data":{"otp":"' . $otp . '","otp_token":"' . $otptoken . '"},"client_secret":"83415d06-ec4e-11e6-a41b-6c40088ab51e"}';
  26.         $verif = request("/v5/customers/phone/verify", null, $data1);
  27.         if(strpos($verif, '"access_token"')){
  28.         echo color("green"," Berhasil mendaftar");
  29.         $token = getStr('"access_token":"','"',$verif);
  30.         $uuid = getStr('"resource_owner_id":',',',$verif);
  31.         echo "\n".color("white"," Akses Token : ".$token."\n\n");
  32.         save("token.txt",$token);
  33.         echo "\n".color("green"," Claim Voucher? y/n : ");
  34.         $pilihan = trim(fgets(STDIN));
  35.         if($pilihan == "y" || $pilihan == "Y"){
  36.                 //kamu kena preng wkwkwk cuman echo doang bukan claim voc beneran//
  37.                 echo "\n".color("white","           Lagi Claim Voucher!       \n");
  38.                 echo color("white","            (Total 8 Voucher)       \n");
  39.                 echo "\n".color("green"," [x1] Voucher Diskon GoSend 50%*");
  40.                 sleep(1);
  41.                 echo "\n".color("green"," [x1] Diskon GoFood 50%");
  42.                 sleep(1);
  43.                 echo "\n".color("green"," [x3] DISKON 50% Naik GoRide maks. Rp10.000");
  44.                 sleep(1);
  45.                 echo "\n".color("green"," [x1] DISKON 50% Naik GoCar maks. Rp25.000");
  46.                 sleep(1);
  47.                 echo "\n".color("green"," [x1] DISKON 50% Naik GoRide pake GoPay maks. Rp10.000");
  48.                 sleep(1);
  49.                 echo "\n".color("green"," [x1] DISKON 50% Naik GoCar pake GoPay maks. Rp30.000");
  50.                 sleep(1);
  51.                 echo "\n".color("green"," [x1] DISKON GO-FOOD 50%!");
  52.                 echo "\n\n".color("white","              Author @armn_gtw      ");
  53.                 echo "\n".color("white","      Kelar dek Silahkan Masuk ke VMOS/AppClone");
  54.                 for($a=1;$a<=3;$a++){
  55.                         echo color("white",".");
  56.                         sleep(2);
  57.                         echo "\n";
  58.         }
  59.         die();
  60.         $code1 = request('/go-promotions/v1/promotions/enrollments');
  61.      
  62.         if(strpos($code1, 'Promo kamu sudah bisa dipakai')){
  63.         goto gocar;
  64.         }else{
  65.         gocar:
  66.         echo "\n".color("yellow","!] Claim voc GOFOOD 15+10+5");
  67.         for($a=1;$a<=3;$a++){
  68.         echo color("yellow",".");
  69.         sleep(20);
  70.         }
  71.         $code1 = request('/go-promotions/v1/promotions/enrollments');
  72.         $message = fetch_value($code1,'"message":"','"');
  73.         if(strpos($code1, 'Promo kamu sudah bisa dipakai')){
  74.         }else{
  75.         $claim = request("/customer_referrals/v1/campaign/enrolment", $token, $data);
  76.         if(strpos($claim, 'Promo kamu sudah bisa dipakai')){
  77.  
  78.         }else{
  79.         echo "\n".color("red","-] Message: ".$message);
  80.         }
  81.         for($a=1;$a<=3;$a++){
  82.         }
  83.         $code1 = request('/go-promotions/v1/promotions/enrollments',);
  84.         $message = fetch_value($code1,'"message":"','"');
  85.         if(strpos($code1, 'Promo kamu sudah bisa dipakai')){
  86.         echo "\n".color("green","+] Message: ".$message);
  87.         sleep(1);
  88.         $cekvoucher = request('/gopoints/v3/wallet/vouchers?limit=10&page=1', $token);
  89.         $total = fetch_value($cekvoucher,'"total_vouchers":',',');
  90.         $voucher3 = getStr1('"title":"','",',$cekvoucher,"3");
  91.         $voucher1 = getStr1('"title":"','",',$cekvoucher,"1");
  92.         $voucher2 = getStr1('"title":"','",',$cekvoucher,"2");
  93.         $voucher4 = getStr1('"title":"','",',$cekvoucher,"4");
  94.         $voucher5 = getStr1('"title":"','",',$cekvoucher,"5");
  95.         $voucher6 = getStr1('"title":"','",',$cekvoucher,"6");
  96.         echo "\n".color("yellow","!] Total voucher ".$total." : ");
  97.         echo color("green","1. ".$voucher1);
  98.         echo "\n".color("green","                     2. ".$voucher2);
  99.         echo "\n".color("green","                     3. ".$voucher3);
  100.         echo "\n".color("green","                     4. ".$voucher4);
  101.         echo "\n".color("green","                     5. ".$voucher5);
  102.         echo "\n".color("green","                     6. ".$voucher6);
  103.         $expired1 = getStr1('"expiry_date":"','"',$cekvoucher,'1');
  104.         $expired2 = getStr1('"expiry_date":"','"',$cekvoucher,'2');
  105.         $expired3 = getStr1('"expiry_date":"','"',$cekvoucher,'3');
  106.         $expired4 = getStr1('"expiry_date":"','"',$cekvoucher,'4');
  107.         $expired5 = getStr1('"expiry_date":"','"',$cekvoucher,'5');
  108.         $expired6 = getStr1('"expiry_date":"','"',$cekvoucher,'6');
  109.          setpin:
  110.          echo "\n".color("nevy","?] Mau set pin?: y/n ");
  111.          $pilih1 = trim(fgets(STDIN));
  112.          if($pilih1 == "y" || $pilih1 == "Y"){
  113.          //if($pilih1 == "y" && strpos($no, "628")){
  114.          echo color("red","========( PIN ANDA = 112233 )========")."\n";
  115.          $data2 = '{"pin":"112233"}';
  116.          $getotpsetpin = request("/wallet/pin", $token, $data2, null, null, $uuid);
  117.          echo "Otp set pin: ";
  118.          $otpsetpin = trim(fgets(STDIN));
  119.          $verifotpsetpin = request("/wallet/pin", $token, $data2, null, $otpsetpin, $uuid);
  120.          echo $verifotpsetpin;
  121.          }else if($pilih1 == "n" || $pilih1 == "N"){
  122.          die();
  123.          }else{
  124.          echo color("red","-]  GAGAL!\n");
  125.          }
  126.          }
  127.          }
  128.          }
  129.          }else{
  130.          goto setpin;
  131.          }
  132.          }else{
  133.          echo color("red","  OTP SALAH ");
  134.          goto otp;
  135.          }
  136.          }else{
  137.          echo color("red","  NOMOR SUDAH TERDAFTAR/SALAH");
  138.          echo "\n  DAFTAR ULANG (y/n): ";
  139.          $pilih = trim(fgets(STDIN));
  140.          if($pilih == "y" || $pilih == "Y"){
  141.          echo "\n".color("purple","  PASTIKAN NOMOR BELUM TERDAFTAR");
  142.          goto ulang;
  143.          }else{
  144.   }
  145.  }
  146. }
  147. echo change()."\n"; ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement