HTB Flag Command Writeup (challenge)

less than 1 minute read

Published:

A writeup of the Hack The Box challenge “Flag Command” with very easy difficulty

Flag Command (very easy)

It’s some kind of game in the browser.

image.png

We have to find a way out of the game. You are given multiple options at a time. You have to choose 1 to progress further in the game.

But you can’t escape the game this way.

The game is written in JavaScript looking at the source code of the web app.

Somewhere in the code I see a line playerWon(); which contains HTB{

This is the start of a flag.

I see also this in the main.js

image.png

When I type http://94.237.54.192:52066/api/options

image.png

Blip-blop, in a pickle with a hiccup! Shmiggity-shmack

image.png

image.png