An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          

gitpillage

Extract data from a public .git directory.


python badge
MIT license badge
twitter badge

---

## 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.