Description
Web instance
Approach
- I initiated a search for subdirectories.
- found
/.gitdirectory. - Used this tool to extract data from
.gitusing command:sudo ./gitdumper.py http://ip/.git/ /tmp. - To view all commits, I executed the command: git log.
- For detailed information about a specific commit, I used the command: git show AcommitHashABCDEF123, where “AcommitHashABCDEF123” is the actual commit hash. This is where you can find the flag.