https://github.com/gwen001/gitpillage
Extract data from a .git directory.
https://github.com/gwen001/gitpillage
bugbounty endpoints git github pentesting python secrets security-tools urls
Last synced: 7 days ago
JSON representation
Extract data from a .git directory.
- Host: GitHub
- URL: https://github.com/gwen001/gitpillage
- Owner: gwen001
- License: mit
- Created: 2022-11-08T15:43:33.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-28T15:47:40.000Z (over 2 years ago)
- Last Synced: 2025-10-09T15:44:39.655Z (7 days ago)
- Topics: bugbounty, endpoints, git, github, pentesting, python, secrets, security-tools, urls
- Language: Python
- Homepage:
- Size: 896 KB
- Stars: 15
- Watchers: 1
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
Awesome Lists containing this project
README
gitpillage
Extract data from a public .git directory.
---
## Description
This Python tool extracts data from an exposed `.git` directory. It's usually used to get the source code of a webapp or find sensitive files.
## Install
```
git clone https://github.com/gwen001/gitpillage
cd gitpillage
pip3 install -r requirements.txt
```## Usage
```
$ python3 gitpillage.py -u https://www.example.com/.git/ -t 10
``````
usage: gitpillage.py [-h] [-u URL] [-t THREADS] [-e EXTENSION] [-x EXCLUDE] [-v]options:
-h, --help show this help message and exit
-u URL, --url URL url of the .git, example https://www.target.com/.git
-t THREADS, --threads THREADS
threads, default: 5
-e EXTENSION, --extension EXTENSION
extensions to download separated by comma, overwrite --exclude, default: all but default exclude
-x EXCLUDE, --exclude EXCLUDE
extensions to exclude separated by comma, default: png,gif,jpg,jpeg,ico,svg,eot,otf,ttf,woff,woff2,css,sass,less,po,mo,mp3,mp4,mpeg,avi
-v, --verbose verbose mode, default: off
```---
---
Feel free to [open an issue](/../../issues/) if you have any problem with the script.