12 lines
479 B
Markdown
12 lines
479 B
Markdown
|
## 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}`
|