DO NOT TRY THIS AT HOME : Text files and message bases are for INFORMATIONAL PURPOSES ONLY. Do not undertake any project based upon any information obtained from this or any other web site.We are not responsible for, nor do we assume any liability for, damages resulting from the use of any information on this site.
While this method works better, I have php 5cript that will do this for you. For people who are learning, try this first.
Spoofing email with telnet
First off, what is email spoofing? Email spoofing is the process where through some hand shaking procedures, and some simple commands, you can send an email from any email address you wish. Interested? go on...
Step 1: Locate
We have to find an MX (Mail exchange) server to operate on, we will use a DOS command called, \"nslookup\". (UNIX can download their own version of nslookup, google). We need to open a console window. Click start > run > and type in cmd.exe (win XP, ME) or command.com (98
So execute these commands:
As you can see, were looking up hotmail. I will use hotmail throughout this article. Untrue to popular belief, GMAIL can be looked up, you just have to find a way to see their MX servers. So once we make nslookup search for hotmail, we\’ll get an output like this on the top:
Hotmail.com MX preference=5, Mail exchanger = mx4.hotmail.com
Hotmail.com MX preference=5, Mail exchanger = mx3.hotmail.com
Hotmail.com MX preference=5, Mail exchanger = mx2.hotmail.com
Hotmail.com MX preference=5, Mail exchanger = mx1.hotmail.com
Ignore all the other stuff. These are the servers you can use to send mail. The one on top is always the fastest one at the time you searched, so use that one for best chance of success (mx4 in this case). So write down mx4.hotmail.com, and lets continue...
Step 2: connect
Exit out of nslookup, open telnet by typing \"telnet\" in the console window. If your using xp, you should get a prompt like this:
98< will produce a full window which by looking you can easily see how to use, And UNIX users will get this:
open a connection to mx4.hotmail.com on port 25, heres how you do that with XP, the others are easy enough to figure out:
Microsoft telnet> o mx4.hotmail.com 25
\’o\’ means open a connection, 25 is port 25, simple? you bet. You will soon be givin something thats sometimes alarming when you reach the server. you might recieve a message telling you what your doing is illegal and you should stop. Dont worry, this is legal (mostly). The server just doesnt know you, lets introduce ourselves! type:
not \’hello\’, helo. Then it will feed back your ip address or something like that, might say hi ^_^.
Step 3: Connect
Here is a sample session to show you the basic commands.
mail from:*any email address that ends in @hotmail.com. Or whatever mx server your currently in*
250 address ok!
rcpt to:*target email address*
250: *will relay target back*
250: begin mail
[header]: *this part is manditory to type correct or they\’ll know you faked the email!*
To:*whose it to*
From:*whose it from*
Reply-to:*same as from, needs to be typed with the hyphen and capital R*
here you can enter the text of your email, where your done, give two more spaces then:
and thats it! mail sent! type \’quit\’ to get out of the server, type \’q\’ to get out of telnet and type \’exit\’ to get out of console.
It may take a few tries to get this down with perfection, dont give up its hard. I suggest using the Putty telnet client, because you cant backspace in telnet, and putty will let you, just in case you mess up.