HackBlue

Labs / CTF warm-ups

Turn a hex dump back into a file

Someone pasted a file as an xxd hex dump into a chat log. Rebuild the original bytes with xxd -r, read the text, and submit the flag.

  • Terminal mission
  • Beginner
  • 2 objectives
  • 0 of 2 solved

Briefing

The challenge is ~/challenge/dump.txt. Each line has an offset, sixteen bytes in hex, and an ASCII preview.

xxd -r reads that format and writes the original bytes. With -p it reads plain hex with no offsets.

analyst@ctf-box

ctf-box · CTF warm-ups

Type help for the command list and objectives for your tasks. Everything runs in this browser.

Up and down arrows walk your history. Ctrl+L clears the screen. Try help, ls, and objectives.