A multiple threads tool to download the `.git` folder and rebuild git repository locally.


Keywords
ctf, git, web, security, githack, web-security
License
LGPL-3.0
Install
pip install GitHacker==1.1.7

Documentation

GitHacker

Desciption :

This is a muti threads tool to detect whether a site has git source leaks,   
and has the ability to download the site source to the local  
This tool can even be in. Git directory is prohibited when access to the use of loopholes
It is worth mentioning that this tool will be, 
git directory completely simulated to the local rather than tools 
such as [githack] just simply restore to the latest version  
so that you can view the developer's submission history as well as submit the annotation 
you can be better To grasp the character and psychology of developers, 
so as to lay the foundation for further code audit

Requirments

git >= 2.11.0 ??? (TODO : test min version)
python-requests
# now only support Linux, :D

Installation :

pip install requests
git clone https://github.com/wangyihang/GitHacker.git
(Downlaod zip file directly from github is not validable, you must use 'git clone')

Usage :

Usage :
        python GitHacker.py [Website]
Example :
        python Githack.py http://127.0.0.1/.git/
Author :
        wangyihang <wangyihanger@gmail.com>

Example :

python GitHacker.py http://127.0.0.1/.git/

TODO :

1. HTTPS
2. Find a better way than recursion

Author :

WangYihang <wangyihanger@gmail.com>
If you have any questsion, please contact me by email
thank you for using :)