Email OSINT tool MOSINT v2.2 (2023) How to install and use the latest working version || Email OSINT tool
MOSINT is the fastest OSINT Tool for emails. It helps you gather information about the target email.
Features:
- Email validation
- Check social accounts
- Check data breaches and password leaks
- Find related emails and domains
- Scan Pastebin Dumps
- Google Search
- DNS Lookup
Keep in mind that for emails by big companies such as Google, Microsoft etc. It is not possible to get the correct IP address with this tool.
I am using a Kali Linux Virtual Machine for this guide but this should work for most operating systems.
How to install:
Step 0: (Optional)
Make sure everything is up to date by running the following commands especially if you had trouble running this tool before
sudo apt update && sudo apt upgrade -y
sudo apt full-upgrade && sudo apt dist-upgrade
reboot
sudo apt update && sudo apt upgrade -y
sudo apt clean
sudo apt autoclean
reboot
Step 1:
Install the language go and clone the git repository
MOSINT is written in Go which means that installing it is essential.
To install it, use the following commands:
cd /opt
sudo apt install golang -y
Cloning the git repository:
In the past you only had to clone 1 repository and then get all the other requirements from ‘requirements.txt’ but with the newer versions that must be done manually.
If needed click here to go to the official MOSINT github page
sudo git clone github.com/alpkeskin/mosint
cd mosint
Now to install the second repository needed for this to work:
go install -v github.com/alpkeskin/mosint@latest
Step 2:
Copy MOSINT to an other directory
Now if you attempt to run MOSINT an error will display
To fix this the following commands should be used:
cd ..
sudo cp -r mosint /usr/lib/go-1.19/src/
cd /usr/lib/go-1.19/src/mosint
Now we can run it:
sudo go run mosint <email>
Step 3:
Adding APIs
If you run it, you will notice that there is a significant amount of missing information compared to what you expected. That is because the APIs are missing. To get API keys you must go to the repository and sign up for them. Most of them are free and easy to get. Once you have them do the following:
cd /usr/lib/go-1.19/src/mosint
And then use one of the following commands:
sudo go run <followed by one of the following commands>
mosint set hunter <hunter.io API key>
mosint set emailrep <emailrep.io API key>
mosint set intelx <intelx.io API key>
mosint set psbdmp <psbdmp.ws API key>
mosint set breachdirectory <breachdirectory.org API key>
Once that is done you should be good to go!