Discovery
Sweep a host list for public .git paths
Flag hosts that serve a publicly accessible .git directory.
commit 7cac63a on Trickest · Shell · MIT license
Free plan: 1 user, 3 execution slots, no card.
overview
What gittools-finder does
After live-host probing, wire a host file into this node to mark which targets expose /.git/. Hits become the shortlist for dump and extract.
Pass hosts through -i (one host or URL per line). Raise -t when the list is large so checks run concurrently. Outputs are a file and folder of exposed hosts.
The Finder only discovers. It does not download or rebuild. Send hits to gittools-dumper and gittools-extractor, or to gitjacker for one-pass recovery. snallygaster covers broader misconfig classes if .git is only one check among many.
source github.com/internetwache/GitTools · commit 7cac63a on Trickest
image quay.io/trickest/gittools-finder:7cac63a
use cases
gittools-finder use cases
Sweep a host list for exposed .git
Run the Finder over a file of hosts to flag every site serving a public .git directory, instead of testing URLs one at a time.
Target recovery only where it pays off
Use the flagged hosts to point gittools-dumper at the few sites that are exposed, rather than dumping blindly across the scope.
Tune concurrency for wide scopes
Set the thread count so a large host list is checked quickly without overrunning the resolver or the targets.
reference
gittools-finder inputs and flags
| Name | Type | Flag | Description |
|---|---|---|---|
| input-file | FILE | -i | Input file of hosts to check for an exposed .git directory. |
| threads | STRING | -t | Number of concurrent threads for the sweep. |
Showing key inputs. gittools-finder exposes 2 inputs in total.
example
gittools-finder command examples
# gittools-finder: sweep hosts.txt for exposed .git with 20 threads
gitfinder.py -i hosts.txt -t 20https://example.com/.git/
https://staging.example.com/.git/
https://dev.example.com/.git/
https://old.example.com/.git/
https://cdn-origin.example.com/.git/
https://intranet.example.com/.git/
# 6 hosts with accessible .git from 120 probedguidance
gittools-finder vs alternatives
Use gittools-finder to learn which hosts expose a .git directory before you recover anything. It only finds. Feed hits to gittools-dumper and gittools-extractor, or to gitjacker, for download and rebuild.
| Tool | Pick it when |
|---|---|
| gittools-dumper | Next step after Finder hits. Downloads the .git directories the Finder flags. |
| gitjacker | Recovers a single exposed repo end to end. Point it at hosts from the Finder list. |
| snallygaster | Scans for many sensitive files and misconfigurations, including exposed .git, across hosts. |
faq
gittools-finder 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.
gittools-dumper-extractor
Download an exposed .git and rebuild the working tree in one pass.
jsluice
Extract URLs, paths, and secrets from JavaScript with a syntax tree.
Run gittools-finder yourself
A host list feeds gittools-finder, which flags sites with an exposed .git and passes them to gittools-dumper so the recovered repos land as output.
Facts on this page come from the live Trickest tool library.