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