# [EN] LoTuX CTF Min 0 ###### tags: `Writeup` `Web` `English` > [name=Curious] ## Train of Thought & Solution Firstly, it can be observed that the website has a Git leak. ![](https://hackmd.io/_uploads/Hy9YfY1Tn.png) Thus, the leaked files are retrieved using [GitHacker](https://github.com/WangYihang/GitHacker) ```bash= githacker --url http://lotuxctf.com:20006/.git/ --output-folder result ``` ![](https://hackmd.io/_uploads/r1ibmF162.png) After inspecting the downloaded files and not finding the flag, we revert to a specific commit to examine ```bash= git reset --hard e9dea4d8d3c8b8b24bcb031649fc0421d330b762 ``` ![](https://hackmd.io/_uploads/HkI0mFkan.png) We now see an added `init.sql` file in the directory, and by examining this file, we discover the flag for this challenge {%hackmd M1bgOPoiQbmM0JRHWaYA1g %}