Pusher91 / SMTP-VRFY-Bruteforce

Bruteforce a user list against SMTP using VRFY

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SMTP-VRFY-Bruteforce

Enumerate users using SMTP's VRFY command

If the connection is lost (i.e. the target drops the connection after too many attempts) it will reconnect and continue bruteforcing where it left off.

Generates output file automatically.

$ python smtp_vrfy_brute.py 10.129.80.226 xato-net-10-million-usernames.txt

Lines remaining in user list: 8295455
Connecting to: 10.129.80.226
Connection response: 220 debian.localdomain ESMTP Postfix (Debian/GNU)

+ Verified user: michael 
++ Verified users list: michael
23 | VRFY james           

* Connection Lost - Reconnecting *
++ Verified users list: michael

Lines remaining in user list: 8295432
Connecting to: 10.129.80.226
Connection response: 220 debian.localdomain ESMTP Postfix (Debian/GNU)

+ Verified user: mail    
++ Verified users list: michael, mail
^C                 

Output File

$ cat smtp-vrfy-bruteforce.out
Target: 10.129.80.226
Wordlist used: xato-net-10-million-usernames.txt
Target header: 220 debian.localdomain ESMTP Postfix (Debian/GNU)

Verified Users:
michael
mail

KeyboardInterrupt while on line: 38    

About

Bruteforce a user list against SMTP using VRFY


Languages

Language:Python 100.0%