Sherlock.py


In this blog:

  • What is Sherlock.py?
  • Installation.
  • Usage.

What is Sherlock?


Sherlock is a Python based tool allowing you to hunt down user accounts under a certain username on different social media platforms.


Sherlock can be run from Replit or Google cloud shell (although the option for cloud operation doesn't seem to be available on the GitHub page anymore.


You can run this tool on any operating system including Linux distros and Windows terminal from Windows 7 and later.


Hundreds of websites, including NSFW, (currently 407) are used to search for matching usernames across various social media accounts.



Image showing GitHub page.
Websites used by Sherlock. Click to see more.




Installation



Click here to check out the GitHub page where you can download it➡️    https://github.com/sherlock-project/sherlock


Click Download ZIP. A file named Sherlock-master.zip will be downloaded. 



Image showing GitHub page.
Sherlock GitHub page.

Image showing zip file.
Sherlock zip file download.





Extract the zip file into your chosen directory and file location.



Image showing extracted files.
Extracted zip file.



In the file path bar, type CMD and enter. This will open a command line prompt within this folder location.

 

You might find yourself in the C drive when the shell opens up so you must navigate to the sherlock directory where you extracted the ZIP file.



Usage



Type pip install -r requirements.txt.

 

If you are not in the correct location, you will get an error (ERRN02) saying there is no such file or directory. 



Image showing error message.
Error saying we are not in the correct directory.


Cd to the correct file location and type the command pip install -r requirements.txt again.

 

Installing the requirements.txt file from the sherlock directory is just an easy way of specifying a whole environment to be installed – pip will automatically install all dependencies required to run Sherlock instead of you having to install each one separately yourself.

 

This method will also ensure that you install the latest versions of all dependencies as pip retrieves the latest version of each package by default. 



Image showing Linux commands.
Installing requirements.


Now that you have all the required packages installed, you can start using Sherlock. Type python sherlock/ <USERNAME>.

 

Note, you can find other sherlock parameters by typing python sherlock/ --help



Image showing Linux commands.
Example usage of Sherlock.


This command searches for a user with the name 'username'.

 

The --print-found option will print all found websites in terminal. 


Comments

Popular posts from this blog

Connecting Metasploitable to Kali Linux

Fixing kernel timer error in Metasploitable

Wireshark alternative ➡️ tcpdump (Linux)