Sherlock is a popular cybersecurity tool that helps in hunting down social media accounts in an OSINT investigation. It is a free and open-source tool/script that can be used on any device including Android. So, lets try to install and use Sherlock in Termux on Android device.
Prerequisites
To hunt down social media accounts using Sherlock we need the following things:
- Termux(Terminal application for Android)
- Python 3
- Python Package Installer (PIP)
How to Install and Use Sherlock in Termux
To install and use Sherlock in Termux follow these steps:
1. Install Python3 in Termux
To run Sherlock, we need Python to be installed. You can install Python in Termux by entering the following command.
pkg install python
2. Install git in Termux
We need git to clone the github repository in Termux. Let’s install it by entering the following command in Termux.
pkg install git
3. Clone Sherlock GitHub Repo
To start with Sherlock, we need to clone GitHub repo of Sherlock. To do that enter following command in Termux.
git clone https://github.com/sherlock-project/sherlock.git
4. Change Directory in Termux
After cloning repo, you need to change current working directory. To do that we use cd, so enter following command.
cd sherlock
5. Install Package Requirements
After switching the directory we need to install package requirements. Enter following command to install sherlock requirements.
python3 -m pip install -r requirements.txt
6. Use Sherlock Script to Hunt Social Media
To use Sherlock script we need to enter the following command along with username.
python3 sherlock.py username1
If you have any doubts or queries then you can ask in comments. Do checkout our Telegram channel for exclusion content on Termux and cyber security.
I get this after the requirement.txt has been successful
Installing collected packages: lxml, colorama, bs4
Running setup.py install for lxml … done
Running setup.py install for bs4 … done
Successfully installed bs4-0.0.1 colorama-0.4.4 lxml-4.6.3
python3 sherlock.py username1 command except with a username…
python3: can’t open file ‘/data/data/com.termux/files/home/sherlock/sherlock.py’: [Errno 2] No such file or directory
NVM I have got it, I just had to redo the CD Sherlock then I was able to make a successful python3 sherlock.py username….. Not sure why but got it now.
oh, okay.
I got the same thing, but this can solve the error. I will work perfectly. Instead of what you typed, type this – python3 sherlock username1
(Without the extension)
Hello sir
I have a problem when I entered git clone it was going good the I entered http GitHub same but he were seeing me no such file in directory
Can you share the repository you’re trying to clone also share the screenshot if possible by uploading on postimages.org?
When I put this commands python3 -m pip install -r requirements.txt
Termux show me warning pip is configured with location that required TLS SSL
what it means ???
idk… it happens to me too.
for the tls problem run
pkg upgrade
for the numpy issue,
MATHLIB=”m” pip3 install numpy