Clear it in 3 steps
-
Start the environment
-
Investigate the target
-
Submit the flag
cipher.txt holds the flag encrypted with a custom cipher (hex). Encryption applies per byte: add (key), xor (position-dependent), rotl (bit rotation). Implement the inverse in Python to recover the flag (run python3 challenge.py for the full spec).
Run python3 challenge.py for the full cipher spec; the key is b"kinoco"
Decrypt by inverting the steps in reverse: rotr(i%8) -> xor((i*7+0x5A)%256) -> sub(key) per byte
Mind the 8-bit rotate rotr(v,n)=((v>>n)|(v<<(8-n)))&0xFF, then UTF-8 decode the bytes