HackBlue

Labs / CTF warm-ups

Find the real flag among decoys

A directory tree has hidden folders and decoy flags. Use find to list dotfiles, then grep with a strict pattern so only the real flag matches.

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

Briefing

The challenge is the ~/challenge folder. Read README.txt for the flag format.

Files and folders whose names start with a dot are hidden from plain ls. find lists them. grep -r searches a tree, and -o -E with a tight pattern prints only exact matches.

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.