Hacking challenges › Web › Test Token

Web · Elite · 50 pts · 40 min

Test token

KOI's supervisor portal decides who's in charge with a token it keeps in a cookie. Someone testing left one inside the JavaScript. Find it, open it up, change its role and get into the panel that controls the erasures.

🩸 First blood up for grabs · 0 people have solved it

⚠ For educational purposes only. A simulation for strictly educational purposes. Everything happens in your browser against made-up machines: it doesn't connect to any real system. Using these techniques against computers or networks without their owner's written permission is a crime (articles 197 bis and 264 of the Spanish Criminal Code). Learn in order to defend.

// OPERATOR NODE · TEST TOKEN
main terminal · operador@paralela
operador@paralela:~$
secure channel · CIPHER
target monitor
network traffic
system
visual signal
</>CIPHER · online
mission status
Milestones0/0
Time00:00
Commands0
Hints0/3
Loot50 pts

    Type help to see the commands and man COMANDO for help on one. pista if you get stuck (the first is free; the rest, 5 credits). When you've got it: submit PARALELA{…}.

    What you learn

    Reading JavaScript in search of secrets, what a JWT is (header.payload.signature in base64), how it's decoded and why a server that doesn't check the signature accepts any forged token.

    Solution explained

    It unlocks when you solve the challenge. If you open it before, you still learn, but this challenge won't give you any points.

    Back to the route →

    FAQ

    What is the “Test Token” challenge about?

    KOI's supervisor portal decides who's in charge with a token it keeps in a cookie. Someone testing left one inside the JavaScript. Find it, open it up, change its role and get into the panel that controls the erasures. It's a challenge on the Web route, elite difficulty, in the Cyberpunks España Hacklab.

    How do you solve it?

    By typing commands into the simulated terminal until you find the PARALELA{…} flag and handing it in with submit. There are progressive hints (the first is free) and an explained solution.

    Is it legal to practise with this challenge?

    Yes: it all happens in your browser against a made-up system. Using these techniques against real systems without permission is a crime; here you learn in order to defend, and the end of the challenge explains how.

    More questions about Cyberpunks España →