Git Good Writeup
Sdctf 2021
Solved By : thewhiteh4t
- Robots reveal an
adminpage and.gitdirectory

- I used a very useful tool which helps to dump file contents of websites which use GIT version control system
-
https://github.com/internetwache/GitTools
.gitdirectory dumped :

- now we can use extractor to get files from the dump

- I found 2
users.dbfiles, both are sqlite3 databases - one contains
bcrypthashes and other one containsmd5hashes - I cracked md5 hashes first because they take less time

- one valid credential found :
aaron@cgau.sdc.tf : weakpassword
- login on
admin.htmland we get the flag
