· 6 years ago · Nov 04, 2019, 04:20 AM
1<?php
2#AUTO CLAIM VOC GOJEK + tf 1rp
3#MASUKIN AKUN YANG UDAH VERIF
4$tokentf = '';
5$pin = '';
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 "[+] File Token saved in ".$live." \n";
47 echo "[+]Process Redeem GOFOODBOBA07 \n";
48 $data3 = '{"promo_code":"GOFOODBOBA07"}';
49 $claim = curl('https://api.gojekapi.com/go-promotions/v1/promotions/enrollments', $data3, $headers);
50 $claims = json_decode($claim[0]);
51 echo $claims->data->message;
52 echo "\n";
53 sleep(3);
54 echo "[+]Process Redeem COBAINGOJEK \n";
55 $data4 = '{"promo_code":"COBAINGOJEK"}';
56 $claim1 = curl('https://api.gojekapi.com/go-promotions/v1/promotions/enrollments', $data4, $headers);
57 $claims1 = json_decode($claim1[0]);
58 echo $claims1->data->message;
59
60 }
61 }
62
63 function nama()
64 {
65 $ch = curl_init();
66 curl_setopt($ch, CURLOPT_URL, "http://ninjaname.horseridersupply.com/indonesian_name.php");
67 curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
68 curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
69 curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
70 curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
71 $ex = curl_exec($ch);
72 // $rand = json_decode($rnd_get, true);
73 preg_match_all('~(• (.*?)<br/>• )~', $ex, $name);
74 return $name[2][mt_rand(0, 14) ];
75 }
76
77function curl($url, $fields = null, $headers = null)
78 {
79 $ch = curl_init();
80 curl_setopt($ch, CURLOPT_URL, $url);
81 curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
82 curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
83 curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
84 if ($fields !== null) {
85 curl_setopt($ch, CURLOPT_POST, 1);
86 curl_setopt($ch, CURLOPT_POSTFIELDS, $fields);
87 }
88 if ($headers !== null) {
89 curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
90 }
91 $result = curl_exec($ch);
92 $httpcode = curl_getinfo($ch, CURLINFO_HTTP_CODE);
93 curl_close($ch);
94
95 return array(
96 $result,
97 $httpcode
98 );
99 }