Advertisement
Algaza

NGL.LINK Spammer

Jul 2nd, 2022
1,230
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. /**
  3.  * CREATE : @BintangAlgaza
  4.  *02 Juli 2022
  5.  **/
  6. date_default_timezone_set('Asia/Jakarta');
  7.  
  8.  
  9.  
  10.  
  11.  
  12. $default = "\033[0;37m";
  13. $cyan = "\033[1;36m";
  14. $blue = "\033[1;35m";
  15. $merah = "\033[1;36m";
  16.  
  17. $tekss = file_get_contents('pesan.txt');
  18.  
  19.  
  20. $pecah = explode("|", $tekss);
  21. $hitung = count($pecah);
  22.  
  23. echo $default."__________________________________".PHP_EOL;
  24. echo $cyan."Auto Send NGL.Link".PHP_EOL;
  25. echo "v1.0 -  02 Juli 2022".PHP_EOL;
  26. echo "MADE BY @BintangAlgaza".PHP_EOL;
  27. echo $default."__________________________________".PHP_EOL;
  28. echo "Contoh ngl.linl/bintangalgaza input bintangalgaza".PHP_EOL;
  29. echo "Masukkan Link Target ".PHP_EOL;
  30. echo " :";
  31. $target = trim(fgets(STDIN));
  32.  
  33.  
  34. for ($i=1; $i < $hitung; $i++) {
  35. $pesan = $pecah[$i];
  36. $server = "https://ngl.link/".$target;
  37. $ch1 = curl_init($server);
  38. $payload1 = json_encode(array("question" => $pesan));
  39. curl_setopt($ch1, CURLOPT_POSTFIELDS, $payload1);
  40. curl_setopt($ch1, CURLOPT_HTTPHEADER, array('Content-Type: application/json'));
  41. curl_setopt($ch1, CURLOPT_RETURNTRANSFER, true);
  42. $result1 = curl_exec($ch1);
  43. curl_close($ch1);
  44. $data = json_decode($result1, TRUE);
  45. echo $cyan."Mengirimkan Pesan ".$pesan." kepada $target".PHP_EOL;
  46. sleep(1);
  47. }
  48.  
  49.  
  50.  
  51.  
  52.  
  53. echo $default."__________________________________".PHP_EOL;
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63. echo " ".PHP_EOL;
  64.  
  65. ?>
  66.  
Advertisement
RAW Paste Data Copied
Advertisement