<?php
$iter = 1;
$max = 100;
$oper = array('858','896','811','817','853','812','832','898'); $norundom = array('1','2','3','4','5','6','7','8');
// $maxiter = array(5,8,10,2,4,9);
$randomNumber = rand(1000000, 9999999); $fullno = $randphonegen . $onenorundom . $randomNumber;
$fullno='082225942841';
curl_setopt($ch, CURLOPT_URL
, 'https://s...content-available-to-author-only...a.id/message/api/rest/v1/activation/otp'); // 'sec-ch-ua: "Not/A)Brand";v="8", "Chromium";v="126", "Google Chrome";v="126"',
'Authorization: Basic dmlkYTp2aWRhcHJvZA==',
'x-lang: en',
// 'sec-ch-ua-platform: "macOS"',
'X-Vida-Timezone: Asia/Jakarta',
'sec-ch-ua-mobile: ?0',
// 'x-datadog-origin: rum',
// 'User-Agent: Mozilla/6.0',
'x-datadog-sampling-priority: 1',
'Content-Type: application/json',
'Accept: application/json, text/plain, */*',
'Referer: https://s...content-available-to-author-only...a.id/',
]);
curl_setopt($ch, CURLOPT_POSTFIELDS
, '{"phoneNumber":"'.$fullno.'","countryCode":"+62","otpLength":10,"otpType":"TWO_FACTOR_OPEN","resend":true}');
echo $iter.'#'.$fullno.'#'.$response;
$iter++;
}
PD9waHAgIAoKJGl0ZXIgPSAxOwokbWF4ID0gMTAwOwokb3BlciA9IGFycmF5KCc4NTgnLCc4OTYnLCc4MTEnLCc4MTcnLCc4NTMnLCc4MTInLCc4MzInLCc4OTgnKTsKJG5vcnVuZG9tID0gYXJyYXkoJzEnLCcyJywnMycsJzQnLCc1JywnNicsJzcnLCc4Jyk7CgovLyAkbWF4aXRlciA9IGFycmF5KDUsOCwxMCwyLDQsOSk7CiRtYXhpdGVyID0gYXJyYXkoMyk7CgokbnVtYmVycyA9IGFycmF5KCk7Cgp3aGlsZSAoJGl0ZXIgPD0gJG1heGl0ZXJbYXJyYXlfcmFuZCgkbWF4aXRlcildKSB7CiAgICAkcmFuZG9tTnVtYmVyID0gcmFuZCgxMDAwMDAwLCA5OTk5OTk5KTsKICAgICRyYW5kcGhvbmVnZW4gPSA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