Giter Site home page Giter Site logo

liamg / gitjacker Goto Github PK

View Code? Open in Web Editor NEW
1.5K 45.0 121.0 1.65 MB

๐Ÿ”ช :octocat: Leak git repositories from misconfigured websites

License: The Unlicense

Go 93.29% Makefile 0.47% Shell 6.23%
git pentesting penetration-testing hacking red-team

gitjacker's Introduction

gitjacker

Travis Build Status

Gitjacker downloads git repositories and extracts their contents from sites where the .git directory has been mistakenly uploaded. It will still manage to recover a significant portion of a repository even where directory listings are disabled.

For educational/penetration testing use only.

More information at https://liam-galvin.co.uk/security/2020/09/26/leaking-git-repos-from-misconfigured-sites.html

Demo Gif

Installation

curl -s "https://raw.githubusercontent.com/liamg/gitjacker/master/scripts/install.sh" | bash

...or grab a precompiled binary.

You will need to have git installed to use Gitjacker.

In The News

  • 20/06/21: Console 58 - Awesome newsletter featuring tools and beta releases for developers.
  • 19/10/20: ZDNet Article - New Gitjacker tool lets you find .git folders exposed online

gitjacker's People

Contributors

fale avatar liamg avatar shafan avatar skrashevich avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gitjacker's Issues

Methodology

Can I use multiple targets list.txt to check the vulnerability

Support Proxy

Would be better to add a feature to support socks/proxy

.git/config

hi on bruteforcing a rdp program https://dr-core-prod-microsites-1.ec2.digitalresources.jisc.ac.uk/.git/config i found this , when i use gitjacker to extract data

The provided URL does not appear vulnerable.

Error: no .git directory is available at this URL: failed to retrieve https://dr-core-prod-microsites-1.ec2.digitalresources.jisc.ac.uk/.git/HEAD: Get "https://dr-core-prod-microsites-1.ec2.digitalresources.jisc.ac.uk/.git/HEAD": x509: certificate is valid for *.core.ac.uk, core.ac.uk, not dr-core-prod-microsites-1.ec2.digitalresources.jisc.ac.uk

regards
Sabeesh

Please bump golang.org/x/sys dependency

This package transitively depends on a version of golang.org/x/sys too outdated to support more recent platforms like riscv64-freebsd. Please bump the dependency to permit a build there.

Support Self-Signed Certs

Tried to use this for an internal, but it seems to fail when there is a self-signed cert.

I will see what I can do in the source and make a PR if it makes sense.

Thanks

Can we get an ARM version of this?

It would be awesome to have an ARM version of gitjacker built right into the precompiled binaries section of the releases. As more and more computers make the move to ARM, I believe it would be beneficial to have an ARM release. I want to contribute, but am not sure how to compile it for ARM.

Importing list of urls

Hi Bro, thanks for this amazing tool. Just a quick question/suggestion, this tool currently accept only 1 URL at a time. Can you add functionality where it takes list of subdomains from a file?

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.