Skip to content

Instantly share code, notes, and snippets.

@jmi4
Created March 13, 2015 15:40
Show Gist options
  • Save jmi4/243a31799befcf36a547 to your computer and use it in GitHub Desktop.
Save jmi4/243a31799befcf36a547 to your computer and use it in GitHub Desktop.
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