Giter Club home page Giter Club logo

githacker's Introduction

GitHacker

Desciption

This is a multiple threads tool to detect whether a site has the .git folder leakage vulnerability. It is able to download the target .git folder almost completely. This tool also works when the DirectoryListings feature is disabled. It is worth mentioning that this tool will download almost all files of the target git repository and then rebuild them locally, which makes this tool State of the art in this area. For example, tools like [githack] just simply restore the latest version. With GitHacker's help, you can view the developer's commit history, which makes a better understanding of the character and psychology of developers, so as to lay the foundation for further code audition.

Comparison of other tools

2021-05-25

Tools Index Source Code Reflogs Stashes Commits Branches Remotes Tags
GitTools βœ”οΈ βœ”οΈ βœ”οΈ ❌ βœ”οΈ ❌ βœ”οΈ ❌
dvcs-ripper βœ”οΈ βœ”οΈ βœ”οΈ ❌ βœ”οΈ ❌ βœ”οΈ ❌
GitHack βœ”οΈ βœ”οΈ ❌ ❌ ❌ ❌ ❌ ❌
git-dumper βœ”οΈ βœ”οΈ βœ”οΈ βœ”οΈ βœ”οΈ βœ”οΈ βœ”οΈ βœ”οΈ
GitHacker βœ”οΈ βœ”οΈ βœ”οΈ βœ”οΈ βœ”οΈ βœ”οΈ βœ”οΈ βœ”οΈ
GitTools ❌ βœ”οΈ βœ”οΈ ❌ βœ”οΈ ❌ βœ”οΈ ❌
dvcs-ripper ❌ ❌ ❌ ❌ ❌ ❌ ❌ ❌
GitHack ❌ βœ”οΈ ❌ ❌ ❌ ❌ ❌ ❌
git-dumper ❌ βœ”οΈ βœ”οΈ βœ”οΈ βœ”οΈ ❌ βœ”οΈ ❌
GitHacker ❌ βœ”οΈ βœ”οΈ βœ”οΈ βœ”οΈ πŸ’ͺ βœ”οΈ πŸ’ͺ

Requirments

  • git >= 2.11.0
  • Python 3

Installation

pip3 install GitHacker

Usage

githacker --url http://127.0.0.1/.git/ --folder result

Example

Demo

TODO

  • Download packed files firstly (Unsolvable via StackOverflow)
  • Download tags and branches when Index enabled
  • Try common tags and branches when Index disabled
  • find packed refs

Videos

asciinema

asciicast

YouTube

References

Acknowledgement

Licsence

THE DRINKWARE LICENSE

<[email protected]> wrote this file. As long as 
you retain this :x:tice you can do whatever you want 
with this stuff. If we meet some day, and you think 
this stuff is worth it, you can buy me the following
drink(s) in return.

Red Bull
JDB
Coffee
Sprite
Cola
Harbin Beer
etc

Wang Yihang

githacker's People

Contributors

wangyihang avatar l3s10n avatar infdahai avatar expoli avatar yctseng1227 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.