Discovery
Recover source from an exposed /.git/ URL
gittools-dumper-extractor is the chained dumper and extractor from the GitTools research suite, downloading an exposed .git directory from a website and rebuilding the full local working tree from it in one pass.
installgit clone https://github.com/internetwache/GitTools.git
Shell · MIT license
Free plan: 1 user, 3 execution slots, no card.
overview
What gittools-dumper-extractor does
In a recovery workflow, this node sits after you confirm a live /.git/ URL. It pulls the exposed git objects, then reconstructs the working tree so secret scanners get readable source instead of raw internals.
Set target to a URL that ends in /.git/. The node requests known git paths by name, so directory listing does not need to be on. Output is a folder with whatever commits and files the downloaded objects support.
Prefer this over gittools-dumper alone when you want dump and extract in one step, especially if the repo may be incomplete. Use gittools-extractor only when a dump folder already exists. gitjacker is a peer one-pass option with different logging.
use cases
gittools-dumper-extractor use cases
Recover a repo in a single node
Point the tool at a target's /.git/ path and get the reconstructed working tree back without chaining a separate dumper and extractor.
Rebuild incomplete repositories
When the download is partial or objects are missing, it still reconstructs as much of the source as the recovered objects allow.
Hand source straight to secret scanning
Route the reconstructed repository into a tool like gitleaks so committed credentials are triaged right after recovery.
reference
gittools-dumper-extractor inputs and flags
| Name | Type | Flag | Description |
|---|---|---|---|
| target | STRING | · | Target URL including the /.git/ folder. |
Showing key inputs. gittools-dumper-extractor exposes 1 inputs in total.
example
gittools-dumper-extractor command examples
# gittools-dumper-extractor: dump then reconstruct an exposed .git into ./repo
gitdumper.sh https://example.com/.git/ ./dump && extractor.sh ./dump ./repo[+] Downloading from https://example.com/.git/
[*] Fetching HEAD, refs, and pack objects
[+] Dump complete under ./dump
[+] Extracting repository into ./repo
[*] Restored refs/heads/main
[*] Wrote working tree files (partial objects recovered)
[+] Reconstruction finished: ./repoguidance
gittools-dumper-extractor vs alternatives
Reach for gittools-dumper-extractor when a target URL exposes /.git/ and you want download plus reconstruction in one node, including partial trees. Use gittools-dumper when you only need the raw dump. Prefer gittools-extractor when the dump folder already exists. Consider gitjacker for a different one-pass recovery path.
| Tool | Pick it when |
|---|---|
| gittools-dumper | Downloads .git data only. Pair with gittools-extractor for the same end state in two nodes. |
| gitjacker | Also one-pass download and rebuild from a URL, with verbose logging as the main difference. |
| gittools-extractor | Reconstruction only. Use when .git data is already dumped to a folder. |
faq
gittools-dumper-extractor FAQ
related
More Discovery tools
cariddi
Crawl a domain list and scan responses for endpoints, secrets, tokens, and juicy files.
crawlergo
Browser-driven crawler that harvests requests for downstream scanners.
dirsearch
Web path scanner.
feroxbuster
Recursive content discovery with smart defaults and rich response filters.
jsluice
Extract URLs, paths, and secrets from JavaScript with a syntax tree.
katana
A fast crawling and spidering framework.
Run gittools-dumper-extractor yourself
A /.git/ URL feeds gittools-dumper-extractor, which rebuilds the repository and hands it to gitleaks so any committed secrets land as output.
Facts on this page come from the live Trickest tool library.