# GitDorker

> Runs a list of GitHub search dorks against a domain or org through the GitHub API to surface leaked secrets and sensitive files.

Source: https://osinttools.io/tools/gitdorker/ (Markdown view of an OSINTtools.io page; append `.md` to any page URL for this format).

- **Inputs:** Domain
- **Category:** Infrastructure and domains
- **Pricing:** Free, open source
- **Footprint:** passive (does not contact the target)
- **Account required:** yes, for full results
- **API:** no public API
- **Platforms:** Python CLI · Docker
- **Website:** https://github.com/obheda12/GitDorker
- **GitHub:** obheda12/GitDorker, 2,599 stars · Python · last commit 2021-05-07 · dormant (no commit on the default branch in 18 months)
- **Listed:** Nov 27
- **Last verified by an editor:** Nov 27, 2026

## What it does

GitDorker is a Python tool that takes a search query, such as a company domain, and runs it combined with a compiled list of GitHub dorks (239 in the full list) through the GitHub Search API. It returns counts and links for each dork so you can see where configuration files, keys or credentials connected to that target may have been pushed to public repositories.

Security teams and investigators use it to map what an organisation has exposed on GitHub, then review interesting repositories by hand or with tools like TruffleHog. It needs one or more GitHub personal access tokens and sleeps to respect the API rate limit.

Footprint is passive: it reads its own index or third-party records and does not contact the target. An account is needed for full results. There is no public API.

## Features

- Bundled dork lists
- Query by domain, org or user
- Multiple tokens to spread rate limits
- Result links per dork
- CSV output
- Docker image

## Pros

- Saves running dozens of GitHub searches by hand
- Dork lists are editable
- Passive: only queries GitHub

## Cons

- Needs GitHub personal access tokens
- Rate limits make full runs slow
- Results are leads; secrets must be checked manually and handled responsibly

## When to use it

- Use it when you need to check whether an organisation's secrets have leaked into public GitHub code.
- Use it when you want to find repositories that mention a target domain in config files.

## Quick start

Run from source:

```
git clone https://github.com/obheda12/GitDorker
cd GitDorker
pip3 install -r requirements.txt
python3 GitDorker.py -tf TOKENSFILE -q example.com -d Dorks/DORKFILE -o example
```

## Alternatives

- [AADInternals OSINT](https://osinttools.io/tools/aadinternals-osint/): Web lookup of Microsoft Entra ID (Azure AD) tenant information for a domain, from the AADInternals project. (Free · Domain · passive)
- [BeVigil](https://osinttools.io/tools/bevigil/): Search engine over millions of scanned Android apps, showing their metadata, code, secrets and the domains, URLs and buckets they contain. (Freemium · Domain · passive)
- [BigDomainData WHOIS History](https://osinttools.io/tools/bigdomaindata-whois-history/): Free WHOIS history lookup that shows a domain's past registrants and record changes, backed by a paid historical WHOIS API. (Freemium · Domain · passive)
- [C99 Subdomain Finder](https://osinttools.io/tools/c99-subdomain-finder/): Free web subdomain finder from C99.nl that lists a domain's known subdomains with their IPs, with an optional private scan. (Free · Domain · passive)
- [CRUCIBLE SIGINT](https://osinttools.io/tools/crucible-sigint/): Self-hosted pipeline that expands one scam domain into related infrastructure using crt.sh, DNS, RDAP and urlscan.io. (Open source · Domain · depends · 27 GitHub stars)
- [CertGraph](https://osinttools.io/tools/certgraph/): Crawls TLS certificate alternate names to build a graph of related domains, live or from Certificate Transparency. (Open source · Domain · depends · 385 GitHub stars)

All alternatives to GitDorker in one table: https://osinttools.io/tools/gitdorker/alternatives/

---

Listings on OSINTtools.io are reviewed by editors and re-verified on a schedule; check pricing and availability on the vendor's site before relying on them, and use OSINT tools only with a lawful basis.
Site index for agents: https://osinttools.io/llms.txt · Full catalog: https://osinttools.io/llms-full.txt · MCP server (Streamable HTTP, no auth): https://osinttools.io/mcp/
