Challenges
Obfuscated password checker
Reverse engineering
Medium
Password checker
Solves: 7
Obfuscated password checker
Author: CyberSamSU
Points
45
This is a REAL Python script (attached tekshir_parol.py). You do not need to run it — just read it and reverse-engineer what the "password" inside is (source-available reversing).
In the script, the password is hidden in two layers: first it is encrypted with a XOR key, then the result is encoded in base64 (ENC). Moreover, the XOR key itself is not plaintext — in OBF_KEY, each byte is stored as the XOR result between the real key byte and 0xFF.
Steps: 1) XOR each byte in OBF_KEY with 0xFF to find the real key; 2) decode ENC from base64; 3) XOR the result with the (repeating) real key — this is your password, i.e., your flag.
Attached files
tekshir_parol.py
Log in to download
SHA-256 checksums
tekshir_parol.py: e707304b9df90034b2618a880c97eace65f9cdda4412ab552c87e194eae6a086
Theory: learn the topic
To submit a flag, log in.