Post

Flagcommand challenge writeup HTB

A writeup for the solution of the flagcommand challenge in HTB.

Flagcommand challenge writeup HTB

Intoruction

This is a writeup for the web exploitation challenge within hackthebox named FlagCommand

Manual Surfing

First things first we check the website normally and it is a gamefied website that consists of a game of trying to escape a forest and contains many choices.

WebMin Form

After playing the game for some time I realized that neither of the choices will take you out of the forest so we need to break this website somehow maybe by injecting some special input.

Network Tab

After Checking the network tab we realise that the website fetches from an endpoint called options and we find all possible inputs and we find a secret input.

WebMin Form

Inserting the special input

After we insert the special input : Blip-blop, in a pickle with a hiccup! Shmiggity-shmack

The website returns the flag directly as shown in the image below.

WebMin Form

Conclusion

From simple reconnaissance techniques like checking the network tab we can eventually find the key of the application/challenge, one needs a proper methedology to not skip any cruicial corners. In the next articles coming we will try to solve more challenges and after we gain more experience we’re going to generate a methedology for web exploitation CTFs.

This post is licensed under CC BY 4.0 by the author.