Cyber Apocalypse CTF 2023 - Trapped Source

Category: Web
Difficulty: Very Easy
Description: Intergalactic Ministry of Spies tested Pandoraโ€™s movement and intelligence abilities. She found herself locked in a room with no apparent means of escape. Her task was to unlock the door and make her way out. Can you help her in opening the door?
Address: 165.232.98.69:30850

The page displays a pin that has to be entered. If we look at the source HTML code of the index page we can see the following inline script:

<script>
    window.CONFIG = window.CONFIG || {
        buildNumber: "v20190816",
        debug: false,
        modelName: "Valencia",
        correctPin: "8291",
    }
</script>

After entering the correct pin that we found, the flag is displayed: HTB{V13w_50urc3_c4n_b3_u53ful!!!}