Skip to content

A GitHack script implemented with recursion algorithm.

Notifications You must be signed in to change notification settings

hazzel-cn/GitHack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

GitHack Scripts

Scripts implementing Git Hack with recursion algorithm.

Usage

git clone https://github.com/hazzel-cn/GitHack.git
cd GitHack

// For githack.py, it collects all files classified by commits so that you can go through all files.
python3 githack.py http://you.target/.git/

// For gitclone.py, it clones the whole repository, which allows you to execute git commands.
python3 gitclone.py http://you.target/.git/

Screenshot

githack.py img

gitclone.py img

Why this script

Without installing git, you can exploit a Git source code leak.

More details can be found in https://www.hazzel.cn/2019/04/20/a-new-githack-script/

Update log

2019-4-21 Improve recursion implementation (DFS) and fix some bugs.

About

A GitHack script implemented with recursion algorithm.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages