Skip to content
OSINTtools.io

GitDorker

Verified yesterdayDormant

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

Python CLI · Docker · Open source · Infrastructure and domains · github.com

Takes
Domain
Pricing
Free, open source
Footprint
Passive · no contact with target
Account
Needed for full results
API
No public API
Last verified
Nov 27, 2026
Summary

Runs a list of GitHub search dorks against a domain or org through the GitHub API to surface leaked secrets and sensitive files. It takes domain. Read the cons before you build a workflow on it.

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.

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

  1. 01Use it when you need to check whether an organisation's secrets have leaked into public GitHub code.
  2. 02Use it when you want to find repositories that mention a target domain in config files.
Key featuresBundled dork listsQuery by domain, org or userMultiple tokens to spread rate limitsResult links per dorkCSV outputDocker image

Next steps from this result

Suggested from the inputs GitDorker takes
  • Found a resultConfirm it with a second, independent source before you record it
  • Found a new identifierPivot on it only if your scope covers the new target
    Depends

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

Technical details

Listing verified by an editor on Nov 27, 2026
API
No public API
Account
Needed for full results
Footprint
Passive · no contact with target
Pricing
Free, open source
Platforms
Python CLI · Docker
Repository
obheda12/GitDorker 2,599 stars
Language
Python
Last commit
May 2021 (dormant)
Listed
Nov 27

Reviews

No reviews yet

Written by signed-in members. Each review appears here after an editor has read it.

Used GitDorker? Sign in to say what you used it for and how it went.

Sign in to review

Alternatives to GitDorker

Listed tools that take the same inputs, closest match first.

GitDorkerOpen source · verified yesterday
Visit github.com (opens in new tab)