Pytask
XESXOR9/10/20261 min read
#reversing#custom#easy#hex_pair_reversal#pyc_decompilation
Pytask
Platform: rev-kids20.forkbomb.ru | Category: Reversing | Type: Challenge | Difficulty: Easy | OS: NA | Author: XESXOR | Date: 2026-03-09 | Status: Solved Techniques: hex_pair_reversal, pyc_decompilation
Summary
Download binary: pytask.pyc. Python compiled bytecode file.
Pytask — Reverse Kids 2.0
Description
Download binary: pytask.pyc. Python compiled bytecode file.
Analysis
Decompiling the .pyc file with uncompyle6 reveals that the flag is encoded by reversing each hex pair (e.g., character 'S' = 0x53 → '35x0').
Solution
Decompile the .pyc, analyze the encoding algorithm, apply the reverse operation — flip each hex pair back.