3

I'm trying to do email spoofing in cmd in telnet but failed to do so.

I entered

C:\Documents and Settings\Owner>telnet alt3.gmail-smtp-in.l.google.com 25

Then it brought me here

220 mx.google.com ESMTP p59si7495147qga.25 - gsmtp

Typed this one

ehlo

Then it produced:

250-mx.google.com at your service, [122.54.217.133]
250-SIZE 35882577
250-8BITMIME
250-STARTTLS
250-ENHANCEDSTATUSCODES
250 CHUNKING

I continued typing this:

MAIL FROM:<cedrickapc@gmail.com>
502 5.5.1 Unrecognized command. s10si7413775qak.221 - gsmtp

Can someone please tell me why do I get error. Isn't it that Gmail is allowing outgoing mail relaying? And may I ask if I can use a disposable/temporary email provider such as dispostable.com for the recepient of this email?

  • try adding a carrige return and line feed followed by a semicolon at the end of the line (\r\n;). compquiz.blogspot.com/2011/03/… . 502 means unimplemented command, so obiviously the parser is not recognizing your command for one reason or other. – Frank Thomas Apr 1 '14 at 11:44
2

It works fine for me, so I suspect there was an extra character in the MAIL FROM line confusing the parser.

$ telnet alt3.gmail-smtp-in.l.google.com 25
Trying 173.194.66.26...
Connected to alt3.gmail-smtp-in.l.google.com.
Escape character is '^]'.
220 mx.google.com ESMTP eu4si26638696wjd.51 - gsmtp
ehlo
250-mx.google.com at your service, [128.XXX.YYY.ZZZ]
250-SIZE 35882577
250-8BITMIME
250-STARTTLS
250-ENHANCEDSTATUSCODES
250 CHUNKING
MAIL FROM:<cedrickapc@gmail.com>
250 2.1.0 OK eu4si26638696wjd.51 - gsmtp
RSET
250 2.1.5 Flushed eu4si26638696wjd.51 - gsmtp
QUIT
221 2.0.0 closing connection eu4si26638696wjd.51 - gsmtp
Connection closed by foreign host.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.