25,587 - SMTP
Usage
# Connect to SMTP server
telnet mail.example.com 25
openssl s_client -connect <ip>:587
# Greet the server
HELO attacker.com
# or
EHLO attacker.com # Extended SMTP (for authentication & more)
# Specify the sender email
MAIL FROM:<sender@example.com>
# Specify the recipient email
RCPT TO:<recipient@example.com>
# Start composing the email message
DATA
# Write email headers and body (end with a single dot '.' on a line)
Subject: Test Email
This is the email body.
.
# Authenticate using base64 encoded username and password (if needed)
AUTH LOGIN
<base64-username>
<base64-password>
# Close the session
QUITServers
OpenSMTPD - RCE
PostFix
Disclaimer Files
Last updated