Sherlock (Python) Cheat Sheet

A Programming › Security cheat sheet in English by sir_slammington

Brief summary of Sherlock (Python)--a utility to locate instances of usernames found on various websites.

17,137 views 2,237 downloads 1 May 2022 History

Positional Arguments

USERNAMES
One or more usernames to check with social networks.

Scan Arguments

--verb­ose­/-v­/--­deb­ug/-d
Display debugging inform­ation and metrics.
--tor/-t
Make requests over TOR. Increases runtime.
--uniq­ue-­tor/-u
Make requests over TOR with new TOR circuit after each request. Substa­ntially increases runtime.
--site [SITE_­NAME]
Limit analysis to just the listed sites.
--proxy/-p [PROXY­_URL]
Make requests over a proxy.
--json/-j [JSON_­FILE]
Load data from a JSON file or an online, valid, JSON file.
--timeout [TIMEOUT]
Time (in seconds) to wait for response to requests.
--local/-l
Force the use of the local data.json file.

Output Arguments

--fold­ero­utp­ut/-fo [FOLDE­ROU­TPUT]
If using multiple usernames, the output of the results will be saved to this folder.
--outp­ut/-o [OUTPUT]
If using a single username, the output of the results will be saved to this file.
-csv
Create a CSV file.
--prin­t-all
Output sites where the username was not found.
print-­found
Output sites where the username was found.
--no-color
Don't color the terminal output.

Misc. Arguments

verbos­e/-­v/-­-de­bug/-d
Display debugging inform­ation and metrics.
--version
Display version inform­ation and depend­encies.
--brow­se/-b
Browse to all results on default browser.

Examples

sherlock john_doe
Search for only one user.
sherlock john_doe jane_doe
Search for multiple users.
sherlock --timeout 4 john_doe
Wait for four seconds between requests and responses.
sherlock --site reddit.com john_doe
Check only a particular site(s) for the userna­me's presence.
sherlock -t john_doe
Onion route requests.
sherlock --csv john_doe
Create a CSV file for the results.
sherlock -o '­joh­n_d­oe_­ins­tan­ces.tx­t' john_doe
Send results to an output file.
sherlock -fo John john_doe, johndoe
Send results to folder with a file for each username specified.

Comments

No comments yet.

Cheatography n. The art of mapping complex subjects into clear, instantly navigable reference guides.