Writeup: UUT 2019 - The Trouble Maker

Information

  • category: Web/Misc
  • points: 220

Description

Linus Torvalds is a trouble maker! He made a web page which hides a flag. Find and capture it!

Writeup

The web page just show a text:

What about GIT? What about /.git?

The HTTP forbidden error shows that we are in the correct path.

Let’s use GitTools‘s dumper to download all the repository folder from the web server.

Inside the repository directory run git reset --hard to restore all files and then with tig (to interactively navigate the history of the repo) we can see a commit to delete a base64 string. Guess what?

That’s the base64 of the flag.

Flag

UUTCTF{VVe* |\_0Ve_L!n(*)\$}