Skip to content
Adam Omar Saleh

Cryptera CTF 2026 placeholder badge (unofficial)Cryptera CTF 2026Web / Reverse Engineering

Obfuscated JavaScript Login

Title unconfirmed

Client-side JavaScript / obfuscated string array

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

  1. 01

    I inspected the supplied JavaScript source and identified the obfuscated lookup array _0x4a9f used by the login logic.

  2. 02

    I resolved the indexed expression _0x4a9f[2] and decoded the stored string to understand the check.

  3. 03

    I verified that the decoded text contained the complete CrypteraCTF flag in the challenge-provided source.

  4. 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.

Original document

Original PDF

The writeup as I first documented it.