Reconnaissance tool for GitHub organizations
Gitrob is a tool to help find potentially sensitive files pushed to public repositories on Github. Gitrob will clone repositories belonging to a user or organization down to a configurable depth and iterate through the commit history and flag files that match signatures for potentially sensitive files. The findings will be presented through a web interface for easy browsing and analysis.
gitrob [options] target [target2] ... [targetN]…By default, gitrob will store its state for an assessment in memory. This means that the results of an assessment is lost when Gitrob is closed. You can save the session to a file by using the -save option:
gitrob -save ~/gitrob-session.json acmecorpGitrob will save all the gathered information to the specified file path as a special JSON document. The file can be loaded again for browsing at another point in time, shared with other analysts or parsed for custom integrations with other tools and systems.
A session stored in a file can be loaded with the -load option:
gitrob -load ~/gitrob-session.jsonGitrob will start its web interface and serve the results for analysis.
A precompiled version is available for each release, alternatively you can use the latest version of the source code from this repository in order to build your own binary.
Make sure you have a correctly configured Go >= 1.8 environment and that $GOPATH/bin is in your $PATH
$ go get github.com/michenriksen/gitrobThis command will download gitrob, install its dependencies, compile it and move the gitrob executable to $GOPATH/bin.
Gitrob will need a Github access token in order to interact with the Github API. Create a personal access token and save it in an environment variable in your .bashrc or similar shell configuration file:
export GITROB_ACCESS_TOKEN=deadbeefdeadbeefdeadbeefdeadbeefdeadbeefAlternatively you can specify the access token with the -github-access-token option, but watch out for your command history!
No open issues yet, or sync has not completed.