Created
March 13, 2015 15:40
-
-
Save jmi4/243a31799befcf36a547 to your computer and use it in GitHub Desktop.
Install Gitrob on Kali
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##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