Git
Check logs
git log
Check Configs
git config -l
CTF: This may provide a username and password to login to the git repository to find something useful such as script or application to download and execute, for example.
.git Enumeration
# this will discover .git files, etc.
/usr/share/seclists/Discovery/Web-Content/quickhits.txt
gitdumper
# https://github.com/internetwache/GitTools
./gitdumper.sh http://source.cereal.htb/.git/ source/
Git Commands
# Go back to where it was at the last commit, restoring all the files
git reset --hard
Last updated