daily pastebin goal
70%
SHARE
TWEET

Oyo

a guest Mar 21st, 2019 359 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. error_reporting(0);
  3. require_once('color.php');
  4. //MASUKAN REF MU
  5. $referral = "MRZLLKQ3X";
  6. //INDO = 62 & USA = 1
  7. $ct=1;
  8. //=============================
  9. function fetch_value($str,$find_start,$find_end) {
  10.     $start = @strpos($str,$find_start);
  11.     if ($start === false) {
  12.         return "";
  13.     }
  14.     $length = strlen($find_start);
  15.     $end    = strpos(substr($str,$start +$length),$find_end);
  16.     return trim(substr($str,$start +$length,$end));
  17. }
  18. function number($length = 15)
  19. {
  20.     $characters = '0123456789';
  21.     $charactersLength = strlen($characters);
  22.     $randomString = '';
  23.     for ($i = 0; $i < $length; $i++) {
  24.         $randomString .= $characters[rand(0, $charactersLength - 1)];
  25.     }
  26.     return $randomString;
  27. }
  28. function generateRandomString($length = 10) {
  29.     $characters = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ';
  30.     $charactersLength = strlen($characters);
  31.     $randomString = '';
  32.     for ($i = 0; $i < $length; $i++) {
  33.         $randomString .= $characters[rand(0, $charactersLength - 1)];
  34.     }
  35.     return $randomString;
  36. }
  37. $page_api = file_get_contents('https://randomuser.me/api/?nat=us');
  38.  
  39. $domain = array ('@gmail.com','@yahoo.com','@hotmail.com','@yahoo.co.id');
  40.         $random = rand(0,3);
  41.         $first = fetch_value($page_api, '"first":"','"');
  42.         $last = fetch_value($page_api, '"last":"','"');
  43.         $email  = $first.'.'.$last.number(2).$domain[$random];
  44.         $name = $first.' '.$last;
  45.        
  46. echo Console::light_red('Enter Phone Number : ');
  47. $phone_number = trim(fgets(STDIN));
  48.  
  49. $ch = curl_init();
  50.  
  51. curl_setopt($ch, CURLOPT_URL, 'https://api.oyorooms.com/v2/users/generate_otp?phone='.$phone_number.'&nod=4&intent=login&sms_auto_retrieval=true&country_code=%2B'.$ct.'&version=20205&partner_app_version=20205&android_id='.generateRandomString(16).'&idfa=&sid=1551940465205');
  52. curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  53. curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'GET');
  54.  
  55. curl_setopt($ch, CURLOPT_ENCODING, 'gzip, deflate');
  56.  
  57. $headers = array();
  58. $headers[] = 'Access_token: QmpDZlRxZWo2UkZ5M3pSeHZ5NW46bi13NHN0ZTV5V1I1aGpCUVVHOUM=';
  59. $headers[] = 'Authorization: Basic QmpDZlRxZWo2UkZ5M3pSeHZ5NW46bi13NHN0ZTV5V1I1aGpCUVVHOUM=';
  60. $headers[] = 'Oyo_ab_config: 1551940467632|dea:1|mwhp:1|t3c:0|epba:0|rst2:1|phbb:0|wcta:1|wtea:1|cdr2:0|popl:0|bann:1|sbma:1|rae:1|gmfh:1|prep:1|fbtn:1|htab:1|hbna:1|absb:1|se1:0|sbmi:1|se3:0|se2:0|se5:6|se4:1|rtsa:0|se6:1|cour:0|gsra:1|rtsi:1|hdab:1|rba:0|cdr:0|ipw:0|rd:1|ipw2:0|pppp:0|lzpi:1|npfi:1|uprc:1|rbl:1|rsa:0|dww2:0|deal:1|pnpd:1|rcua:1|rsi:0|gsti:1|dwep:2|otp4:1|urha:1|ppa:2|ona:0|svh:1|stc2:1|urhi:1|ppi:2|gsta:0|gstc:0|nlab:1|asa:1|cr:1|rts:0|nlp:1|mjo:1|onab:0|asi:1|wtei:1|asei:1|bsba:2|aca:1|bea:1|wtib:2|hbri:0|lyr:0|aci:0|scta:0|tspk:1|hste:1|tspi:0|tspj:0|DWWS:1|a2hs:1|pfri:0|brch:4|test:1|raab:0|sink:0|aswp:1|shli:0|hrr:0|hrt:1|riab:1|hbad:0|hbi:0|rcui:1|idl:0|sbpa:0|stcl:0|sbpi:0|sinc:1|shla:0|brea:1|idum:1|lpta:1|lpti:1|ffab:1|his2:0|hbci:1|pst:1|stfi:0|pce:1|stft:2|omue:0|brei:1|hsei:0|sold:1|hbca:1|home:1|scti:0|otab:1|cvis:0|gsa:1|dwhp:0|gsi:1|rasl:0|locr:0|obai:1|dbad:1|nrca:1|epa:2|nrci:1|hlis:0|epi:0|epn:2|fbb:1|trab:1|rmo2:1|niab:0|lbht:0|weng:0|shpa:0|hppl:0|hsfa:1|sls:1|shpi:0|loc:0|phli:0|gpwa:0|nsl:1|prpa:1|saet:1|nhba:1|gpwi:0|nrfa:0|nbwa:0|prpi:1|hbi2:1|saea:1|mrc:1|blh:1|cpab:1|hpsa:0|vct:0|octt:1|phb:1|hpsi:0|cadd:1|nsfa:1|oban:1|spc2:1|smla:0|sfni:0|auto:1|uiab:1|pvis:0|wtab:3|shel:1|ndlp:0|hmpi:1|his:0|rmo:1|bdpi:1|pbra:1|sos:2|logn:1|rms:1|uaab:1|papg:1|bdpa:1|pbri:1|nob2:1|swar:1|aowt:1|spc:1|pioi:0|rms2:0|trCl:1|nhbi:0|lbh:1|nrfi:0|nbwi:1|paom:0|lsc:1|pdhi:0|tsb:0|lsc2:0|diei:1|dmme:1|diea:1|dte:1|acsi:1|nuom:0|adum:0|pdha:0|uhps:0|mwen:0|nobs:1|efa:1|hpwa:0|fbb2:1|sra:2|reca:1|BnTc:0|paab:1|mwep:2|ngst:1|hpwi:1|ltsc:1|reci:1|jbei:0|piab:1|aimg:1|avgp:0|ffib:1|mww2:1|ioab:0|hpfd:1|srz:1|socp:0|plwc:1';
  61. $headers[] = 'Accept-Language: en';
  62. $headers[] = 'Content-Type: application/json';
  63. $headers[] = 'User-Agent: Dalvik/2.1.0 (Linux; U; Android 8.1.0; SM-G610F Build/M1AJQ)';
  64. $headers[] = 'Host: api.oyorooms.com';
  65. curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
  66.  
  67. $result = curl_exec($ch);
  68. if (curl_errno($ch)) {
  69.     echo 'Error:' . curl_error($ch);
  70. }
  71. curl_close ($ch);
  72.  
  73. $json = json_decode($result);
  74. if($json->is_user_present == 1){
  75.     echo "Nomor sudah terdaftar";
  76.     die();
  77. }
  78.  
  79. echo Console::white('Enter OTP : ');
  80. $otp = trim(fgets(STDIN));
  81.  
  82.  
  83. $ch = curl_init();
  84.  
  85. curl_setopt($ch, CURLOPT_URL, 'https://api.oyorooms.com/v2/users/new_sign_up?additional_fields=ab_service_data&handset=samsung%2C%20SM-G610F&version=20205&partner_app_version=20205&android_id='.generateRandomString(16).'&idfa=&sid=1551940465205');
  86. curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  87. curl_setopt($ch, CURLOPT_POSTFIELDS, '{
  88.     "truecaller": false,
  89.     "code": "'.$otp.'",
  90.     "country_code": "+62",
  91.     "device_id": "'.generateRandomString(16).'",
  92.     "device_type": "android",
  93.     "email": "'.$email.'",
  94.     "id": 0,
  95.     "idfa": "",
  96.     "name": "'.$name.'",
  97.     "phone": "'.$phone_number.'",
  98.     "push_type": "gcm",
  99.     "referral_code": "'.$referral.'",
  100.     "token": "c-PeIXwYYwg:APA91bHHQLHnS0FvSIOYJpN-hBJXYHxc1xQh8FrMZaQawBVPVyXxk77vTz7LWC4rtApBrZb3p4pOwJRD2JBMq0u3sChUgpasQFGcN_HNAGCscrcREwL-trFIBX3votCcFY1bn7eBmuCd",
  101.     "updated_at": 0
  102. }');
  103. curl_setopt($ch, CURLOPT_POST, 1);
  104. curl_setopt($ch, CURLOPT_ENCODING, 'gzip, deflate');
  105.  
  106. $headers = array();
  107. $headers[] = 'Access_token: QmpDZlRxZWo2UkZ5M3pSeHZ5NW46bi13NHN0ZTV5V1I1aGpCUVVHOUM=';
  108. $headers[] = 'Authorization: Basic QmpDZlRxZWo2UkZ5M3pSeHZ5NW46bi13NHN0ZTV5V1I1aGpCUVVHOUM=';
  109. $headers[] = 'Oyo_ab_config: 1551940467632|dea:1|mwhp:1|t3c:0|epba:0|rst2:1|phbb:0|wcta:1|wtea:1|cdr2:0|popl:0|bann:1|sbma:1|rae:1|gmfh:1|prep:1|fbtn:1|htab:1|hbna:1|absb:1|se1:0|sbmi:1|se3:0|se2:0|se5:6|se4:1|rtsa:0|se6:1|cour:0|gsra:1|rtsi:1|hdab:1|rba:0|cdr:0|ipw:0|rd:1|ipw2:0|pppp:0|lzpi:1|npfi:1|uprc:1|rbl:1|rsa:0|dww2:0|deal:1|pnpd:1|rcua:1|rsi:0|gsti:1|dwep:2|otp4:1|urha:1|ppa:2|ona:0|svh:1|stc2:1|urhi:1|ppi:2|gsta:0|gstc:0|nlab:1|asa:1|cr:1|rts:0|nlp:1|mjo:1|onab:0|asi:1|wtei:1|asei:1|bsba:2|aca:1|bea:1|wtib:2|hbri:0|lyr:0|aci:0|scta:0|tspk:1|hste:1|tspi:0|tspj:0|DWWS:1|a2hs:1|pfri:0|brch:4|test:1|raab:0|sink:0|aswp:1|shli:0|hrr:0|hrt:1|riab:1|hbad:0|hbi:0|rcui:1|idl:0|sbpa:0|stcl:0|sbpi:0|sinc:1|shla:0|brea:1|idum:1|lpta:1|lpti:1|ffab:1|his2:0|hbci:1|pst:1|stfi:0|pce:1|stft:2|omue:0|brei:1|hsei:0|sold:1|hbca:1|home:1|scti:0|otab:1|cvis:0|gsa:1|dwhp:0|gsi:1|rasl:0|locr:0|obai:1|dbad:1|nrca:1|epa:2|nrci:1|hlis:0|epi:0|epn:2|fbb:1|trab:1|rmo2:1|niab:0|lbht:0|weng:0|shpa:0|hppl:0|hsfa:1|sls:1|shpi:0|loc:0|phli:0|gpwa:0|nsl:1|prpa:1|saet:1|nhba:1|gpwi:0|nrfa:0|nbwa:0|prpi:1|hbi2:1|saea:1|mrc:1|blh:1|cpab:1|hpsa:0|vct:0|octt:1|phb:1|hpsi:0|cadd:1|nsfa:1|oban:1|spc2:1|smla:0|sfni:0|auto:1|uiab:1|pvis:0|wtab:3|shel:1|ndlp:0|hmpi:1|his:0|rmo:1|bdpi:1|pbra:1|sos:2|logn:1|rms:1|uaab:1|papg:1|bdpa:1|pbri:1|nob2:1|swar:1|aowt:1|spc:1|pioi:0|rms2:0|trCl:1|nhbi:0|lbh:1|nrfi:0|nbwi:1|paom:0|lsc:1|pdhi:0|tsb:0|lsc2:0|diei:1|dmme:1|diea:1|dte:1|acsi:1|nuom:0|adum:0|pdha:0|uhps:0|mwen:0|nobs:1|efa:1|hpwa:0|fbb2:1|sra:2|reca:1|BnTc:0|paab:1|mwep:2|ngst:1|hpwi:1|ltsc:1|reci:1|jbei:0|piab:1|aimg:1|avgp:0|ffib:1|mww2:1|ioab:0|hpfd:1|srz:1|socp:0|plwc:1';
  110. $headers[] = 'Accept-Language: en';
  111. $headers[] = 'Content-Type: application/json; charset=utf-8';
  112. $headers[] = 'User-Agent: Dalvik/2.1.0 (Linux; U; Android 8.1.0; SM-G610F Build/M1AJQ)';
  113. $headers[] = 'Host: api.oyorooms.com';
  114. curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
  115.  
  116. $result = curl_exec($ch);
  117. if (curl_errno($ch)) {
  118.     echo 'Error:' . curl_error($ch);
  119. }
  120. curl_close ($ch);
  121.  
  122. $json = json_decode($result);
  123.  
  124. if($json->success == 0){
  125.     echo Console::light_blue('Berhasil mendaftar OYO');
  126.     echo "\r\n";
  127.     echo Console::white('Nomer HP = '.$phone_number.'');
  128.     echo "\r\n";
  129.     echo Console::light_red('Refferal = '.$referral.'');
  130.     echo "\r\n";
  131.     echo Console::white('Email = '.$email.'');
  132.     echo "\r\n";
  133.     echo Console::light_blue('Nama = '.$name.'');
  134.     echo "\r\n";
  135.     die();
  136. }
  137. elseif($json->success == 1){
  138.     echo $json->phone." GAGAL ANJING";
  139.     die();
  140. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top