SNAD
Writeup for SNAD (Web) - NahamCon CTF (2025) π
Description
No, it's not a typo. It's not sand. It's SNAD. There's a difference!
Solution
We load the website and see a particle generator operated with the mouse.

The JS contains a POST request to /api/verify-ctf-solution which includes a JSON object ({'particleData': t})
I try to send various POST requests using this information but always get Invalid submission data. Continuing to read the JS code, there is a checkFlag function which calls retrieveFlag at the end.
I try to execute retrieveFlag in the console but it's not that simple! The particles need to be in the correct positions. Here's a script that will do that, we just paste it into the browser console.
Then call the function.
Flag: flag{6ff0c72ad11bf174139e970559d9b5d2}
Last updated