loading
loading
Discovery
Sweep a host list for publicly accessible .git directories.
overview
mass-gitfinder reads a host file via -i and checks each target for a publicly reachable .git directory, writing the short list of leak candidates.
Use it after subdomain discovery and an HTTP prober such as httpx so checks run only on live hosts. Raise -t when the list is large.
Trickest provides mass-gitfinder as a managed Discovery node. It flags exposure only; route hits to gittools-dumper or gitjacker to recover the repository.
use cases
Feed a full list of company subdomains and flag every host that serves a reachable .git directory, catching leaks before an attacker dumps the repository.
Run mass-gitfinder after subdomain discovery and HTTP probing so the .git check fires only against hosts that are confirmed live.
Schedule the scan against a maintained host list so newly deployed servers that ship their version control folder get caught soon after they go live.
Scan a target's published domains for accessible .git paths, then pull the leaked repository to read source, hardcoded credentials, and internal endpoints.
reference
| Name | Type | Flag | Description |
|---|---|---|---|
| input-file | FILE | -i | File of hosts to check for an exposed .git directory. |
| threads | STRING | -t | Number of concurrent threads for the sweep. |
Showing key inputs. mass-gitfinder exposes 2 inputs in total.
example
# mass-gitfinder: sweep hosts.txt for exposed .git with 40 threadsmass-gitfinder -i hosts.txt -t 40https://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 180 probedguidance
Use mass-gitfinder when you have a host list and need to know which targets leak a .git directory. It checks one high-value path at scale after discovery and probing. Prefer meg or ffuf for broad path discovery.
Fetches many paths across many hosts. Broader coverage; not specialized for .git.
Extracts endpoints from JS URLs across a list. Different leak surface than version control.
General content and directory fuzzer. Use when you need many paths; mass-gitfinder targets one.
faq
related
Extract URLs and endpoints from Android APK files.
Web path scanner.
Crawl pages, harvest potential parameters, write a custom wordlist.
Recursive content discovery with smart defaults and rich response filters.
Maintained gau fork for passive archive URL collection.
Extract JavaScript file URLs from a page or URL list.
A host list is probed by httpx for live targets, then Mass-GitFinder checks each one for an exposed .git directory and writes the leak candidates as a queryable output.
Facts on this page come from the live Trickest tool library.