XGiF (Exposed Git Finder) is tool written in Go designed to find .git folder exposed due to server misconfiguration. Such misconfiguration in a web application can lead to source code disclosure and invite other serious vulnerabilities.
go install github.com/prasant-paudel/xgif@latest
Flag | Description |
---|---|
-t | Target URL |
-T | List of target URLs |
-v | Enable verbose mode (default=false) |
-o | Output to a file |
xgif -t https://example.com
xgif -T target_urls.txt
xgif -T target_urls.txt -v -o output_file.txt
Current Version is 1.1