Cryptera CTF 2026Web / Reverse Engineering
Obfuscated JavaScript Login
Title unconfirmedClient-side JavaScript / obfuscated string array
- Competition
Cryptera CTF 2026
- Category
- Web / Reverse EngineeringEasy · estimated
- Analysis status
- Flag found in supplied script
- Document
- Original PDF
01Challenge analysis
The problem
The challenge used client-side JavaScript obfuscation around a login flow. The page shipped a secret-bearing string array to the browser, where it could be read without bypassing a server-side authentication service.
02Exploit or recovery path
How I solved it
- 01
I inspected the supplied JavaScript source and identified the obfuscated lookup array _0x4a9f used by the login logic.
- 02
I resolved the indexed expression _0x4a9f[2] and decoded the stored string to understand the check.
- 03
I verified that the decoded text contained the complete CrypteraCTF flag in the challenge-provided source.
- 04
The observation demonstrates that browser-side obfuscation does not protect embedded secrets: users receive the code and can inspect its constants.
Result
RECOVERED FLAG
CrypteraCTF{j4v4scr1pt_0bfusc4t10n_1s_n0t_s3cur1ty}
Flag found in supplied script
- Local Verification
- Exact flag was recovered from provided client-side JavaScript in a prior session.
- Evidence Limitation
- Official challenge title and platform acceptance record were not preserved.