TMCB

Writeup for TMCB (Web) - NahamCon CTF (2025) πŸ’œ

Description

They thought they could impress us with One Million Checkboxes!? Pfft... how about TWO Million Checkboxes?!

Ya gotta check'em all!!

Solution

We have 2 million checkboxes to tick!

Checking the JS, it becomes apparent the "checks" are done with websockets.

We can base64 decode.

Presumably we can write a brute force script to solve this, but I will focus on the JS. We quickly see how the requests function.

I was thinking of using JS to tick all the boxes though 😁 I ask ChatGPT for a quick script.

Paste this in the browser console, but it will take a few mins (250 batches)

After 1-2 minutes, we are done.

Actually, I don't know why ChatGPT set the batch size at 8000. I increased it to 500,000 and it solves in 4 batches. Maybe you can just send 2,000,000 in one go! When the page is refreshed, we have the flag.

Flag: flag{7d798903eb2a1823803a243dde6e9d5b}

Last updated