crackme2
XESXOR9/10/20261 min read
#reversing#custom#easy#hex_decode#source_code_analysis
crackme2
Platform: rev-kids20.forkbomb.ru | Category: Reversing | Type: Challenge | Difficulty: Easy | OS: NA | Author: XESXOR | Date: 2026-03-09 | Status: Solved Techniques: hex_decode, source_code_analysis
Summary
Language: C. Source code provided. Flag is hex-encoded in the source.
crackme2 — Reverse Kids 2.0
Description
Language: C. Source code provided. Flag is hex-encoded in the source.
Analysis
The program converts input to a hex string via sprintf(ptr, "%02x", text[i]) and compares it with a hardcoded string:
c read-only • copy allowedconst char *flag = "464c41477b32653135356238376435383234653835656634313039346165633761383364637d";
Solution
Simply decode hex to ASCII:
python read-only • copy allowedflag_hex = "464c41477b32653135356238376435383234653835656634313039346165633761383364637d" flag = bytes.fromhex(flag_hex).decode() # FLAG{REDACTED}