Flag Command {HTB}
I open the page source of the web
Then I noticed some files in the page source and started with the game.js file to understand the game and what it is about with a brief overview:
Then I found that it calls other important tasks from the other two files, such as the game’s win and loss rules and the tasks that happen in the terminal
Get AlvaGad’s stories in your inbox
Join Medium for free to get updates from this writer.
I moved to main.js file to show some technicals
I noticed in this file that the game fetches test data from a file named /api/options
I noticed some secret information at the bottom, so I copied it and solved the game.






