Hetalia: Axis Powers - Liechtenstein 07Worm: How to send Gmail over Telnet

Search 07Worm

Saturday 11 January 2014

How to send Gmail over Telnet

After installing the telnet host as I previously described you have to also download a program called stunnel. This will  allow us to connect to Gmail's servers.
Download  stunnel here. I suggest you download the 4.6.5 stunnel.exe file. At the end of setup when you are asked you describe your server type write "localhost" without the quotes.
Step by Step
1.Open Stunnel.config. It is set default to open in notepad.
2.Find [gmail.stmp]. Delete the semicolons on that line and the ???? underneath it.
3.Go back to the GUI page and head under configuration=>Reload.
You should now be able to send gmail over telnet.

Go to Start=>run=>cmd.
Once cmd is open type in the following and press Enter:
telnet localhost 25
 
You should then see something similar to the following:
220 mx.google.com ESMTP f14sm1400408wbe.2
 
You will then need to reply by typing the following and pressing enter:
helo google
 
This should give you the following response:
250 mx.google.com at your service
 
If you get this you then need to type the following and press enter:
ehlo google
 
This should then give you the following response:
250-mx.google.com at your service, [212.28.228.49]
250-SIZE 35651584
250-8BITMIME
250-AUTH LOGIN PLAIN XOAUTH
250 ENHANCEDSTATUSCODES
 
Now you should be ready to authenticate with your Gmail details. To do this type the following and press enter:
AUTH LOGIN
This should then give you the following response:
334 VXNlcm5hbWU6
Thisis in base 64 language wich means you might have to copy and paste from a converter such as this.

For example test@gmail.com would become dGVzdEBnbWFpbC5jb20= and password would become cGFzc3dvcmQ=

Once you have done this copy and paste your converted base64 username into the cmd/telnet session and press enter. This should give you following response:
334 UGFzc3dvcmQ6
 
Now copy and paste your converted base64 password into the cmd/telnet session and press enter. This should give you following response if both login credentials are correct:
235 2.7.0 Accepted
 
You should now enter the sender email (should be the same as the username) in the following format and press enter: 
MAIL FROM:<test@gmail.com>
This should give you the following response:
250 2.1.0 OK x23sm1104292weq.10
You can now enter the recipient email address in a similar format and press enter:
RCPT TO:<recipient@gmail.com>
This should give you the following response:
250 2.1.5 OK x23sm1104292weq.10
Now you will need to type the following and press enter:
DATA
Which should give you the following response:
354  Go ahead x23sm1104292weq.10
Now we can start to compose the message! To do this enter your message in the following format (Tip: do this in notepad and copy the entire message into the cmd/telnet session):
From: Test <test@gmail.com>
To: Me <recipient@gmail.com>
Subject: Testing email from telnet
This is the body

Adding more lines to the body message.
When you have finished the email enter a dot:
.
This should give you the following response:
250 2.0.0 OK 1288307376 x23sm1104292weq.10
And now you need to end your session by typing the following and pressing enter:
QUIT
Great!!! Now you have hopefully to survive without having HTML. 

No comments:

Post a Comment