25 465 587 - SMTP

Login

Basic

nc -nv <ip> 25

Secure

openssl s_client -crlf -connect <ip>:465

Secure with STARTTLS

openssl s_client -starttls smtp -crlf -connect <ip>:587

Commands

HELO <domain>
MAIL FROM <sender email>
RCPT TO <dest email>
DATA
RSET
VRFY <email>
NOOP
QUIT

Extended SMTP

Send an email

Enumeration

User bruteforce

Manual

The RCPT TO command requires to specify an email to use as source. Sometimes when providing an incomplete destination address the mail server will autocomplete the email revealing the internal name.

Automatic tools

Use to following script to generate possible variants of a given username. Downloadable from here

Verify the existence of the generated usernames.

Last updated