· 6 years ago · Nov 05, 2019, 11:48 AM
1<?php
2#AUTO CLAIM VOC GOJEK + tf 1rp
3#MASUKIN AKUN YANG UDAH VERIF
4$tokentf = 'bb77c30a-4f61-4de5-b14b-c2fb943ea543';
5$pin = '111273';
6#Created By Alip Dzikri X Apri AMsyah
7#####################################
8
9$secret = '83415d06-ec4e-11e6-a41b-6c40088ab51e';
10$headers = array();
11$headers[] = 'Content-Type: application/json';
12$headers[] = 'X-AppVersion: 3.27.0';
13$headers[] = "X-Uniqueid: ac94e5d0e7f3f".rand(111,999);
14$headers[] = 'X-Location: -6.405821,106.064193';
15
16 echo "[+] NOMOR : ";
17 $number = trim(fgets(STDIN));
18 $numbers = $number[0].$number[1];
19 $numberx = $number[5];
20 if($numbers == "08") {
21 $number = str_replace("08","628",$number);
22 } elseif ($numberx == " ") {
23 $number = preg_replace("/[^0-9]/", "",$number);
24 $number = "1".$number;
25 }
26 $nama = nama();
27 $email = strtolower(str_replace(" ", "", $nama) . mt_rand(100,999) . "@gmail.com");
28 $data1 = '{"name":"' . $nama . '","email":"' . $email . '","phone":"+' . $number . '","signed_up_country":"ID"}';
29 $reg = curl('https://api.gojekapi.com/v5/customers', $data1, $headers);
30 $regs = json_decode($reg[0]);
31 // Verif OTP
32 if($regs->success == true) {
33 echo "[+] OTP: ";
34 $otp = trim(fgets(STDIN));
35 $data2 = '{"client_name":"gojek:cons:android","data":{"otp":"' . $otp . '","otp_token":"' . $regs->data->otp_token . '"},"client_secret":"' . $secret . '"}';
36 $verif = curl('https://api.gojekapi.com/v5/customers/phone/verify', $data2, $headers);
37 $verifs = json_decode($verif[0]);
38 if($verifs->success == true) {
39 // Claim Voucher
40 $token = $verifs->data->access_token;
41 $headers[] = 'Authorization: Bearer '.$token;
42 $live = "token-accounts.txt";
43 $fopen1 = fopen($live, "a+");
44 $fwrite1 = fwrite($fopen1, "TOKEN => ".$token." \n NOMOR => ".$number." \n");
45 fclose($fopen1);
46 echo "[+] Your Token: ".$token." \n";
47 echo "[+] File Token saved in ".$live." \n";
48 echo "[+] Process Redeem GOFOODBOBA07 \n ";
49 $data3 = '{"promo_code":"GOFOODBOBA07"}';
50 $data4 = '{"promo_code":"COBAINGOJEK"}';
51 $claim = curl('https://api.gojekapi.com/go-promotions/v1/promotions/enrollments', $data3, $headers);
52 $claims = json_decode($claim[0]);
53 echo $claims->data->message;
54 echo "\n";
55 sleep(3);
56 echo "[+] Process Redeem COBAINGOJEK \n";
57 $claim1 = curl('https://api.gojekapi.com/go-promotions/v1/promotions/enrollments', $data4, $headers);
58 $claims1 = json_decode($claim1[0]);
59 echo $claims1->data->message;
60 echo "\n";
61 }
62 }
63
64 function nama()
65 {
66 $ch = curl_init();
67 curl_setopt($ch, CURLOPT_URL, "http://ninjaname.horseridersupply.com/indonesian_name.php");
68 curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
69 curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
70 curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
71 curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
72 $ex = curl_exec($ch);
73 // $rand = json_decode($rnd_get, true);
74 preg_match_all('~(• (.*?)<br/>• )~', $ex, $name);
75 return $name[2][mt_rand(0, 14) ];
76 }
77
78function curl($url, $fields = null, $headers = null)
79 {
80 $ch = curl_init();
81 curl_setopt($ch, CURLOPT_URL, $url);
82 curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
83 curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
84 curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
85 if ($fields !== null) {
86 curl_setopt($ch, CURLOPT_POST, 1);
87 curl_setopt($ch, CURLOPT_POSTFIELDS, $fields);
88 }
89 if ($headers !== null) {
90 curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
91 }
92 $result = curl_exec($ch);
93 $httpcode = curl_getinfo($ch, CURLINFO_HTTP_CODE);
94 curl_close($ch);
95
96 return array(
97 $result,
98 $httpcode
99 );
100 }