write-ups-challenges-2024-2025/flagisnowhidden/SOLUTION.md
2024-11-25 22:29:38 +01:00

479 B

Difficulty

??

Category

Web

How To Solve

Observe that the .git folder is leaking at <website>/.git/. Copy this folder to your local machine using wget -nH --mirror .git <website>/.git/. Use git log to show the commit history. You can see that one of the commit messages is "hide flag". Using git show with the commit ID will reveal the flag.

-    <p>IGCTF{n3ever_3xp0se_fl4gs_1n_g1t}</p>
+    <p>REMOVED</p>

Flag

IGCTF{n3ever_3xp0se_fl4gs_1n_g1t}