Blog / · GH-Proxy Team

Sherlock: Hunt Usernames Across 400+ Sites

During penetration testing, incident response, digital forensics, and open-source intelligence (OSINT) investigations, username enumeration serves as one of the most effective initial reconnaissance vectors.

Internet users frequently maintain identical or closely related handles across varied services, from popular social networks and developer hubs to gaming portals and messaging applications. Correlating a single handle across multiple platforms enables security analysts to map an individual or threat actor digital footprint within minutes.

Among all open-source reconnaissance tools, sherlock-project/sherlock stands as the undisputed industry standard.

Boasting more than 101,000+ GitHub Stars and nearly 12,000 Forks, Sherlock is pre-installed in leading security distributions like Kali Linux and BlackArch. With a single terminal command, Sherlock queries over 400 online platforms worldwide in parallel, pinpointing registered accounts with remarkable speed and accuracy.


🌟 Why Sherlock Defines Modern OSINT Reconnaissance

Named in honor of fictional detective Sherlock Holmes, the project has evolved into a powerhouse reconnaissance engine thanks to robust engineering principles:

1. Broad Coverage Across 400+ Social Networks

  • Scans major global platforms alongside specialized communities: Twitter / X, GitHub, Reddit, TikTok, Instagram, YouTube, Telegram, Steam, Spotify, Pinterest, GitLab, HackerNews, Medium, Roblox, and Twitch.
  • Active community maintenance keeps site definitions fresh, eliminating dead targets and tuning detection heuristics to minimize false positives.

2. High-Concurrency Asynchronous Architecture

  • Built on Python asynchronous workflows combined with thread-pooled HTTP requests (requests-futures).
  • Rather than probing platforms sequentially, Sherlock launches dozens of concurrent connections simultaneously across all target domains.
  • Analyzes HTTP status codes, missing-user error messages, and DOM signatures to determine account existence within seconds.

3. Wildcard and Pattern Variations

  • Users often modify taken handles using underscores, dashes, or periods (for example, john_doe, john-doe, and john.doe).
  • Sherlock natively supports the {?} wildcard symbol (such as sherlock "user{?}name"), automatically enumerating character substitutions in parallel to widen investigation scopes.

4. Structured Reporting and Proxy Anonymization

  • Flexible Export Formats: Beyond colorful terminal output and plain text files, Sherlock exports directly to structured CSV (--csv) and formatted Microsoft Excel spreadsheets (--xlsx), enabling seamless ingestion into Maltego or business intelligence tools.
  • Proxy and Anonymity Support: Routes traffic through HTTP or SOCKS5 proxies via --proxy to avoid IP-based rate limiting and protect analyst infrastructure.
  • Automated Browser Launch: The --browse switch automatically launches all discovered profile links in your default web browser once scanning completes.

🚀 Fast Installation and Setup

Sherlock can be installed via source cloning, container images, or isolated Python package managers.

Using the GH-Proxy open-source mirror, you can clone the repository at full connection speed without international network throttling:

git clone https://gh-proxy.org/https://github.com/sherlock-project/sherlock.git
cd sherlock

Install core dependencies into your Python environment:

python3 -m pip install -r requirements.txt

Install the CLI entry point:

python3 -m pip install .
sherlock --version

Option 2: Isolated Global Install via pipx or uv

Modern Linux, macOS, and Windows environments benefit from isolated tool managers:

pipx install sherlock-project

Alternatively, use the ultra-fast uv tool suite:

uv tool install sherlock-project

Option 3: Docker Container

To run Sherlock without configuring local Python libraries:

docker run -it --rm sherlock/sherlock user123

💻 Practical Usage and Command Examples

1. Basic Single Target Scan with Excel Export

Investigate a single username, stream live findings to the console, and generate an Excel workbook with hyperlinked profile URLs:

sherlock target_username --print-found --xlsx

2. Batch Investigation with Output Directory

Examine multiple aliases simultaneously and store all generated reports inside a dedicated project directory:

sherlock user1 user2 user3 --folderoutput ./investigation_reports

3. Targeted Platforms with SOCKS5 Proxy Routing

Limit checks to specific platforms while masking the outgoing network address:

sherlock target_username --site github --site twitter --site reddit --proxy socks5://127.0.0.1:1080

4. Comprehensive Scan Including Sensitive Networks

By default, Sherlock excludes adult or sensitive platforms. To perform an exhaustive check for risk management or compliance:

sherlock target_username --nsfw --csv

⚡ Operational Security and Compliance

  1. Authorized Usage Only: Sherlock is designed for security research, authorized red-teaming, and legitimate OSINT inquiries. Always ensure your investigations comply with applicable laws and acceptable use policies;
  2. Rate Limiting Management: Querying hundreds of services in short bursts may trigger protective rate limits on sensitive endpoints. When scanning at scale, utilize rotating proxy pools and tune request durations with --timeout;
  3. Correlation with OSINT Frameworks: Exported CSV or JSON results can be easily ingested into graph visualization suites such as Maltego, SpiderFoot, or Recon-ng to build rich relational maps.

💬 Comments & Discussion

Scroll down to load comments
(or click here to load immediately)