Github Exposed Repositories
1) Enumeration
feroxbuster --url http://domain.local -w /usr/share/wordlists/dirb/common.txt -C 404,500,403http://domain.local/.git/HEAD2) Dump exposed repository locally
git clone https://github.com/internetwache/GitTools./gitdumper.sh http://domain.local/.git/ /home/user/Desktop/repo3) Extract commits and their content
./extractor.sh /home/user/Desktop/repo /home/user/Desktop/repodump4) Go to "repo" directory and enumerate
cd /home/user/Desktop/repogit log5) Enumerate interesting files in the "repodump" extracted commits
Last updated