Skip to main content

Flag Command

Embark on the "Dimensional Escape Quest" where you wake up in a mysterious forest maze that's not quite of this world. Navigate singing squirrels, mischievous nymphs, and grumpy wizards in a whimsical labyrinth that may lead to otherworldly surprises. Will you conquer the enchanted maze or find yourself lost in a different dimension of magical challenges? The journey unfolds in this mystical escape!

 

1

>> start

Let's check the source code for the logic.

3

main.js

Visiting main.js, we can see the following code:

4

Scrolling back up, we can see that the playerWon() function has been imported from game.js.

5

game.js

Let's checkout game.js.

6

So, the playerWon() function simply outputs the GAME_WON string, which is imported from commands.js.

commands.js

7

So far, we have found the string that gets outputted when we win the game, however, we have not found the logic that allows us to win.

Network tab

Let's check out the network tab.

8

We can see a request is being sent to the /options endpoint. Let's check out the response.

9

Looks like there is a secret command that we can provide. Let's try it.

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

10

Flag

HTB{D3v3l0p3r_t00l5_4r3_b35t__t0015_wh4t_d0_y0u_Th1nk??}