Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2019
588
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.54 KB | None | 0 0
  1. <?php
  2. #AUTO CLAIM VOC GOJEK + tf 1rp
  3. #MASUKIN AKUN YANG UDAH VERIF
  4. $tokentf = '';
  5. $pin = '';
  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.  
  15. echo "[+] enter password : ";
  16. $pass = trim(fgets(STDIN));
  17. if($pass == ""){
  18. echo "[+] NOMOR : ";
  19. $number = trim(fgets(STDIN));
  20. $numbers = $number[0].$number[1];
  21. $numberx = $number[5];
  22. if($numbers == "08") {
  23. $number = str_replace("08","628",$number);
  24. } elseif ($numberx == " ") {
  25. $number = preg_replace("/[^0-9]/", "",$number);
  26. $number = "1".$number;
  27. }
  28. $nama = nama();
  29. $email = strtolower(str_replace(" ", "", $nama) . mt_rand(100,999) . "@gmail.com");
  30. $data1 = '{"name":"' . $nama . '","email":"' . $email . '","phone":"+' . $number . '","signed_up_country":"ID"}';
  31. $reg = curl('https://api.gojekapi.com/v5/customers', $data1, $headers);
  32. $regs = json_decode($reg[0]);
  33. // Verif OTP
  34. if($regs->success == true) {
  35. echo "[+] OTP: ";
  36. $otp = trim(fgets(STDIN));
  37. $data2 = '{"client_name":"gojek:cons:android","data":{"otp":"' . $otp . '","otp_token":"' . $regs->data->otp_token . '"},"client_secret":"' . $secret . '"}';
  38. $verif = curl('https://api.gojekapi.com/v5/customers/phone/verify', $data2, $headers);
  39. $verifs = json_decode($verif[0]);
  40. if($verifs->success == true) {
  41. // Claim Voucher
  42. $token = $verifs->data->access_token;
  43. $headers[] = 'Authorization: Bearer '.$token;
  44. $live = "token-accounts.txt";
  45. $fopen1 = fopen($live, "a+");
  46. $fwrite1 = fwrite($fopen1, "TOKEN => ".$token." \n NOMOR => ".$number." \n");
  47. fclose($fopen1);
  48. echo "[+] File Token saved in ".$live." \n";
  49. echo "[+]Process Redeem GOFOODBOBA07 \n";
  50. $data3 = '{"promo_code":"GOFOODBOBA07"}';
  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. $data4 = '{"promo_code":"COBAINGOJEK"}';
  58. $claim1 = curl('https://api.gojekapi.com/go-promotions/v1/promotions/enrollments', $data4, $headers);
  59. $claims1 = json_decode($claim1[0]);
  60. echo $claims1->data->message;
  61. sleep(3);
  62. echo "[+]Process TF 1rp \n";
  63. $getqrid = curl('https://api.gojekapi.com/wallet/qr-code?phone_number=%2B'.$number.'', null, $headers);
  64. $jsqrid = json_decode($getqrid[0]);
  65. $qrid = $jsqrid->data->qr_id;
  66. $headertf = array();
  67. $headertf[] = 'Content-Type: application/json';
  68. $headertf[] = 'X-AppVersion: 3.27.0';
  69. $headertf[] = "X-Uniqueid: ac94e5d0e7f3f".rand(111,999);
  70. $headertf[] = 'X-Location: -6.405821,106.64193';
  71. $headertf[] ='Authorization: Bearer '.$tokentf;
  72. $headertf[] = 'pin:'.$pin.'';
  73.  
  74. $tf = curl('https://api.gojekapi.com/v2/fund/transfer', '{"amount":"1","description":"💰Memek ","qr_id":"'.$qrid.'"}', $headertf);
  75. $jstf = json_decode($tf[0]);
  76. if($jstf->status == "1"){
  77. echo "[+]SUKSES TF";
  78. } else {
  79. print_r($jstf);
  80. }
  81.  
  82. }
  83. }
  84. } else{
  85. die('SALAH PASS');
  86.  
  87.  
  88. }
  89. function nama()
  90. {
  91. $ch = curl_init();
  92. curl_setopt($ch, CURLOPT_URL, "http://ninjaname.horseridersupply.com/indonesian_name.php");
  93. curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
  94. curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
  95. curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  96. curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
  97. $ex = curl_exec($ch);
  98. // $rand = json_decode($rnd_get, true);
  99. preg_match_all('~(&bull; (.*?)<br/>&bull; )~', $ex, $name);
  100. return $name[2][mt_rand(0, 14) ];
  101. }
  102.  
  103. function curl($url, $fields = null, $headers = null)
  104. {
  105. $ch = curl_init();
  106. curl_setopt($ch, CURLOPT_URL, $url);
  107. curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
  108. curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
  109. curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
  110. if ($fields !== null) {
  111. curl_setopt($ch, CURLOPT_POST, 1);
  112. curl_setopt($ch, CURLOPT_POSTFIELDS, $fields);
  113. }
  114. if ($headers !== null) {
  115. curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
  116. }
  117. $result = curl_exec($ch);
  118. $httpcode = curl_getinfo($ch, CURLINFO_HTTP_CODE);
  119. curl_close($ch);
  120.  
  121. return array(
  122. $result,
  123. $httpcode
  124. );
  125. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement