In this brief article, I will describe how to send emails via Telnet in a single command:
telnet IP_ADDRESS 25 << EOF
ehlo alfaexploit.com
mail from: inventado@dominio-inventado.com
rcpt to: kr0m@alfaexploit.com
data
AAAA
.
quit
EOF
ehlo alfaexploit.com
mail from: inventado@dominio-inventado.com
rcpt to: kr0m@alfaexploit.com
data
AAAA
.
quit
EOF