Created
May 11, 2016 11:29
-
-
Save DavidPesticcio/c4b76f4b52b6187672fc7b1aea4cc1d6 to your computer and use it in GitHub Desktop.
LINUX: Send email directly to MTA with netcat
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
---------- mailtalk.txt ---------- | |
helo myhost | |
mail from: [email protected] | |
rcpt to: [email protected] | |
data | |
FROM: [email protected] | |
TO: [email protected] | |
SUBJECT: This is a Test mail | |
blah blah | |
. | |
quit | |
---------- mailtalk.txt ---------- | |
nc targetserver.com 25 < mailtalk.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment