A poem that spells something
The flag is hidden in the first character of every line of a short poem. Use cut to keep one column and tr to join the lines into a single string.
- Terminal mission
- Beginner
- 2 questions
- 0 of 2 solved
Your goal
Your goalRead the flag hidden in the first letter of every line of a poem.
The challenge file is ~/challenge/harbour.txt. The title is "Read me down, not across".
cut -c1 keeps the first character of each line. tr -d removes characters, including newlines written as '\n'.
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.
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.
Read first
More in CTF warm-ups
The whole walkthrough
Every step in order: 198 words, about 1 min. It gives away every answer, so try the steps first.