· 6 years ago · Nov 01, 2019, 05:12 PM
1<?php
2#AUTO CLAIM VOC GOJEK + tf 1rp
3#MASUKIN AKUN YANG UDAH VERIF
4#Created By Alip Dzikri X Apri AMsyah
5#Dimohon untuk tidak merubah script x Jabber.
6#####################################
7
8$secret = '83415d06-ec4e-11e6-a41b-6c40088ab51e';
9$headers = array();
10$headers[] = 'Content-Type: application/json';
11$headers[] = 'X-AppVersion: 3.27.0';
12$headers[] = "X-Uniqueid: ac94e5d0e7f3f".rand(111,999);
13$headers[] = 'X-Location: -6.405821,106.064193';
14
15echo "Nomer HP Akun Utama: ";
16$number = trim(fgets(STDIN));
17$numbers = $number[0].$number[1];
18$numberx = $number[5];
19if($numbers == "08") {
20 $number = str_replace("08","628",$number);
21}
22$login = curl('https://api.gojekapi.com/v3/customers/login_with_phone', '{"phone":"+' . $number . '"}', $headers);
23$logins = json_decode($login[0]);
24if($logins->success == true) {
25 echo "OTP: ";
26 $otp = trim(fgets(STDIN));
27 $data1 = '{"scopes":"gojek:customer:transaction gojek:customer:readonly","grant_type":"password","login_token":"' . $logins->data->login_token . '","otp":"' . $otp . '","client_id":"gojek:cons:android","client_secret":"' . $secret . '"}';
28 $verif = curl('https://api.gojekapi.com/v3/customers/token', $data1, $headers);
29 $verifs = json_decode($verif[0]);
30 if($verifs->success == true) {
31 $token = $verifs->data->access_token;
32 echo "Token: ".$token;
33 echo "\n";
34 echo "\n";
35 } else {
36 die("OTP salah goblok!");
37 }
38} else {
39 die("ERROR - Nomer belum kedaftar goblok / Tunggu 15 Menit");
40}
41
42 echo "Pin Akun Utama : ";
43 $pin = trim(fgets(STDIN));
44 echo "[+] Nomer Yang Ingin Di Claim : ";
45 $number = trim(fgets(STDIN));
46 $numbers = $number[0].$number[1];
47 $numberx = $number[5];
48 if($numbers == "08") {
49 $number = str_replace("08","628",$number);
50 } elseif ($numberx == " ") {
51 $number = preg_replace("/[^0-9]/", "",$number);
52 $number = "1".$number;
53 }
54 $nama = nama();
55 $email = strtolower(str_replace(" ", "", $nama) . mt_rand(100,999) . "@gmail.com");
56 $data1 = '{"name":"' . $nama . '","email":"' . $email . '","phone":"+' . $number . '","signed_up_country":"ID"}';
57 $reg = curl('https://api.gojekapi.com/v5/customers', $data1, $headers);
58 $regs = json_decode($reg[0]);
59 // Verif OTP
60 if($regs->success == true) {
61 echo "[+] OTP: ";
62 $otp = trim(fgets(STDIN));
63 $data2 = '{"client_name":"gojek:cons:android","data":{"otp":"' . $otp . '","otp_token":"' . $regs->data->otp_token . '"},"client_secret":"' . $secret . '"}';
64 $verif = curl('https://api.gojekapi.com/v5/customers/phone/verify', $data2, $headers);
65 $verifs = json_decode($verif[0]);
66 if($verifs->success == true) {
67 // Claim Voucher
68 $token = $verifs->data->access_token;
69 $headers[] = 'Authorization: Bearer '.$token;
70 $live = "token-accounts.txt";
71 $fopen1 = fopen($live, "a+");
72 $fwrite1 = fwrite($fopen1, "TOKEN => ".$token." \n NOMOR => ".$number." \n");
73 fclose($fopen1);
74 echo "[+] File Token saved in ".$live." \n";
75 echo "[+]Process Redeem GOFOODBOBA07 \n";
76 $data3 = '{"promo_code":"GOFOODBOBA07"}';
77 $claim = curl('https://api.gojekapi.com/go-promotions/v1/promotions/enrollments', $data3, $headers);
78 $claims = json_decode($claim[0]);
79 echo $claims->data->message;
80 echo "\n";
81 sleep(3);
82 echo "[+]Process Redeem COBAINGOJEK \n";
83 $data4 = '{"promo_code":"COBAINGOJEK"}';
84 $claim1 = curl('https://api.gojekapi.com/go-promotions/v1/promotions/enrollments', $data4, $headers);
85 $claims1 = json_decode($claim1[0]);
86 echo $claims1->data->message;
87 sleep(3);
88 echo "[+]Process TF 1rp \n";
89 $getqrid = curl('https://api.gojekapi.com/wallet/qr-code?phone_number=%2B'.$number.'', null, $headers);
90 $jsqrid = json_decode($getqrid[0]);
91 $qrid = $jsqrid->data->qr_id;
92$headertf = array();
93$headertf[] = 'Content-Type: application/json';
94$headertf[] = 'X-AppVersion: 3.27.0';
95$headertf[] = "X-Uniqueid: ac94e5d0e7f3f".rand(111,999);
96$headertf[] = 'X-Location: -6.405821,106.64193';
97$headertf[] ='Authorization: Bearer '.$token;
98$headertf[] = 'pin:'.$pin.'';
99
100$tf = curl('https://api.gojekapi.com/v2/fund/transfer', '{"amount":"1","description":"DowerGanteng ","qr_id":"'.$qrid.'"}', $headertf);
101$jstf = json_decode($tf[0]);
102if($jstf->status == "1"){
103 echo "[+]SUKSES TF";
104 } else {
105 print_r($jstf);
106 }
107
108 }
109
110
111 }
112 function nama()
113 {
114 $ch = curl_init();
115 curl_setopt($ch, CURLOPT_URL, "http://ninjaname.horseridersupply.com/indonesian_name.php");
116 curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
117 curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
118 curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
119 curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
120 $ex = curl_exec($ch);
121 // $rand = json_decode($rnd_get, true);
122 preg_match_all('~(• (.*?)<br/>• )~', $ex, $name);
123 return $name[2][mt_rand(0, 14) ];
124 }
125
126function curl($url, $fields = null, $headers = null)
127 {
128 $ch = curl_init();
129 curl_setopt($ch, CURLOPT_URL, $url);
130 curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
131 curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
132 curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
133 if ($fields !== null) {
134 curl_setopt($ch, CURLOPT_POST, 1);
135 curl_setopt($ch, CURLOPT_POSTFIELDS, $fields);
136 }
137 if ($headers !== null) {
138 curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
139 }
140 $result = curl_exec($ch);
141 $httpcode = curl_getinfo($ch, CURLINFO_HTTP_CODE);
142 curl_close($ch);
143
144 return array(
145 $result,
146 $httpcode
147 );
148 }