WangYihang/GitHacker
🕷️ A `.git` folder exploiting tool that is able to restore the entire Git repository, including stash, common branches and common tags. observed · 2026-08-28
Health v2 · maintenance only
77/100
- Activity 99
- Release rhythm 35
- Longevity 100
Flags: no_releases no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3435
- days_rel: n/a
- days_push: 10
- n_releases_24m: 0
Adoption not part of the score
1664 stars · 248 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
GitHacker is a multi-threaded Python CLI tool that exploits exposed `.git` directories on web servers to reconstruct the entire Git repository, including branches, tags, stashes, and commit history, even without directory listings. It also ships a research site with a reproducible benchmark and security suite comparing it against other .git pillagers.
Use cases
- dump a leaked .git folder from a website during a pentest
- recover source code and commit history from an exposed .git directory
- restore branches, tags, and stashes when directory listing is disabled
- brute-force git ref names on a target web server
- scan multiple URLs for exposed .git folders
- test .git pillager tools against malicious git directories
When to choose
- you need the most complete recovery of a leaked repository including stashes and tags
- directory listing is disabled and you need ref brute-forcing
- you want a maintained tool hardened against malicious .git attacks
- you need to run the dump in a disposable Docker container
When to avoid
- you only need a quick single-file download rather than a full repo reconstruction
- you are not authorized to test the target — this is an offensive security tool
- you need a GUI or non-command-line workflow
Facets
cli-tool · maturity active
security http-client cli web-scraping security penetration-testing developer-tools cli python windows git-leakage git-folder-exploitation offensive-security source-code-disclosure pentest-tools command-line docker linux macos
2 sources
- readme: https://github.com/WangYihang/GitHacker · fetched 2026-08-28 · 724156502279
- homepage: https://githacker.pages.dev/ · fetched 2026-08-29 · 92465e7c4454
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| WangYihang/GitHacker | main | 77 |
For agents
markdown · JSON · MCP: product_card(name="WangYihang/GitHacker")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem