← Back to HWJ CTF

FOR YOUR EYES ONLY

Decode invisible Whitespace programming language encoded text file.

Tools Used

cat -AsedWhitespace DecoderdCode

Overview

Text file appears blank in text editors but has non-zero size, containing spaces, tabs, and newlines.

Reconnaissance

Run cat -A chall.txt to visualize tab (^I) and newline markers.

Exploitation Strategy

Decode payload using Whitespace programming language interpreter to recover flag.

Solution Code

cat -A chall.txt
# Decode Whitespace code -> hwj{a_wh1t3_ch4ll3ng3}

Flag

hwj{a_wh1t3_ch4ll3ng3}