Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Install Gitrob on Kali
##Installation of gitrob a tool used to crawl a github org for sensitive info
## I have done this on kali linux
$ git clone https://github.com/michenriksen/gitrob
$ cd gitrob
$ apt-get update
$ apt-get install ruby-bcrypt ruby2.1-dev postgresql-server-dev-9.1 -y
$ gem install bundler
$ gem install gitrob
$ /etc/init.d/postgresql restart
$ su postgres
$#psql -U postgres
$#template1>CREATE DATABASE gitrob;
$#template1>CREATE USER gitrob WITH PASSWORD 'gitrob';
$#template1>GRANT ALL PRIVILEGES ON DATABASE gitrob to gitrob;
$#template1>\q
$#Ctrl+D
$gitrob --configure
Enter PostgreSQL hostname: |localhost|
Enter PostgreSQL port: |5432|
Enter PostgreSQL username: gitrob
Enter PostgreSQL password for gitrob (masked): gitrob
Enter PostgreSQL database name: |gitrob|
Enter GitHub access tokens (blank line to stop):
<token from github>
$ gitrob -o fbi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment