Wargames.my 2017 - Chal12 - EZ File Sharing
·1 min
By checking common directory, we discovered .git folder - http://ezfile-sharing.wargames.my/.git/
Mirror the folder using wget and ask wget to disobey robots.txt
wget -r -e robots=off http://ezfile-sharing.wargames.my/.git
Git reset hard
git reset --hard
Now the source codes have been rebuilt in the directory.
Look through the files and you’ll find the flag
wgmy:{AdminGitGudPlease}