-
-
Save YourFriendCaspian/1c702e5b9bae1664a9da78794a94d3eb 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
Enter GitHub access tokens (blank line to stop):
After the above step it never ends. If i click enter, it gives Loading configuration... done
[*] Preparing database... failed
[!] Sequel::DatabaseConnectionError: PG::ConnectionBad: FATAL: Ident authentication failed for user "gitrob"
can you please help me out to resolve this