Professional .git repository reconstructor and extractor
Project description
GitSnatcher
GitSnatcher is a professional-grade .git directory reconstructor and extractor. It recovers exposed git repositories from web servers, intelligently crawling and decompressing packfiles and index structures even when directory listing is disabled or partial objects return 403 Forbidden.
Made by baba01hacker.
Features
- Smart Reconstruction: Recursively parses git indexes and tree structures to pull objects dynamically.
- Multi-Threaded Engine: Uses thread pooling to download thousands of objects concurrently.
- Evasion & Proxies: Native proxy support, SSL verification skipping, custom headers, and rate limiting.
- Automatic Decompression: Handles zlib extraction dynamically to find new nested hashes.
Installation
pip install gitsnatcher
Or from source:
git clone https://github.com/Baba01hacker666/gitsnatcher.git
cd gitsnatcher
pip install .
Usage
gitsnatcher -u http://target.com/.git/ -o ./loot_dir
Options
-u,--url: Target.gitURL-o,--output-dir: Where to save the cloned repo locally-t,--threads: Number of threads (default: 10)-x,--proxy: Route traffic through proxy (e.g.http://127.0.0.1:8080)-k,--insecure: Disable SSL verification--delay: Delay between requests
Once downloaded, simply cd into the output directory and run git checkout . to restore the source code.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gitsnatcher-1.0.0.tar.gz.
File metadata
- Download URL: gitsnatcher-1.0.0.tar.gz
- Upload date:
- Size: 9.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4fa1997babd14de9fb09695f0ed473095d7060c339297481a31e5fedc3fe5510
|
|
| MD5 |
74fdf192472bd736942edd4e9b896792
|
|
| BLAKE2b-256 |
858c3b9ac2b5612868c91f99deca0b9321a09071a72b4bd8d1cba629d3f56a8d
|
Provenance
The following attestation bundles were made for gitsnatcher-1.0.0.tar.gz:
Publisher:
publish-pypi.yml on Baba01hacker666/gitsnatcher
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gitsnatcher-1.0.0.tar.gz -
Subject digest:
4fa1997babd14de9fb09695f0ed473095d7060c339297481a31e5fedc3fe5510 - Sigstore transparency entry: 1928914972
- Sigstore integration time:
-
Permalink:
Baba01hacker666/gitsnatcher@1a987de40ddf0e647314bcfd7bc5e1002eac5ce8 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Baba01hacker666
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@1a987de40ddf0e647314bcfd7bc5e1002eac5ce8 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file gitsnatcher-1.0.0-py3-none-any.whl.
File metadata
- Download URL: gitsnatcher-1.0.0-py3-none-any.whl
- Upload date:
- Size: 7.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1ac92be9f93cf92b40c5548442048f93614f87e4476dfb05ed110094334847f1
|
|
| MD5 |
52949ecaac4a293cf7b86b53af6d348e
|
|
| BLAKE2b-256 |
ccdadd99db459b7a499ef61d07bd5995212c1ee5f8f63ffe765840b1142c2dc8
|
Provenance
The following attestation bundles were made for gitsnatcher-1.0.0-py3-none-any.whl:
Publisher:
publish-pypi.yml on Baba01hacker666/gitsnatcher
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gitsnatcher-1.0.0-py3-none-any.whl -
Subject digest:
1ac92be9f93cf92b40c5548442048f93614f87e4476dfb05ed110094334847f1 - Sigstore transparency entry: 1928915370
- Sigstore integration time:
-
Permalink:
Baba01hacker666/gitsnatcher@1a987de40ddf0e647314bcfd7bc5e1002eac5ce8 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Baba01hacker666
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@1a987de40ddf0e647314bcfd7bc5e1002eac5ce8 -
Trigger Event:
workflow_dispatch
-
Statement type: