CTF warm-upsHackBlue

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 questions
  • 0 of 2 solved

Your goal

Your goalTurn a pasted hex dump back into the original text and read the flag.

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.

What’s on screen
Briefing
the story: what happened and what evidence you were handed.
Terminal
the dark box. It is a pretend Linux shell that runs in your browser. Type a command and press Enter. Nothing you type touches a real system.
Walkthrough
the numbered path. Each step says what to type and what you should see. Hints open one at a time.
Answer boxes
under each question step. Type what you found and press Check.
Words to know
ASCII
the basic set of English letters, digits, and symbols as numbers

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.