← Back to HWJ CTF

GOT IT RIGHT?

Extract Base64 string from binary printable strings and decode it.

Tools Used

stringsbase64CyberChef

Overview

The binary does not reveal the flag directly upon execution, but contains a Base64-encoded string embedded in printable text.

Reconnaissance

Running strings chalpwn reveals suspicious Base64 string: aHdqezF0XzFzX24wdF9lNHN5XzM0MTlrOTN9Cg.

Exploitation Strategy

Decode the Base64 payload using command-line tools or CyberChef.

Solution Code

echo "aHdqezF0XzFzX24wdF9lNHN5XzM0MTlrOTN9Cg" | base64 -d
# Output: hwj{1t_1s_n0t_e4sy_3419k93}

Flag

hwj{1t_1s_n0t_e4sy_3419k93}