Lookey here

Published: July 20, 2023Updated: December 9, 2025

Description

Attackers hid the flag in a huge text dump. Download the file and grep for picoCTF to recover it.

Use grep to search for `pico` inside the file.

Trim leading whitespace and extract only the flag token.

grep pico anthem.flag.txt
grep pico anthem.flag.txt | sed -e 's/^ *//' | cut -d ' ' -f7

Solution

  1. Step 1Search with grep
    Even though the file is large, `grep pico anthem.flag.txt` immediately shows the flagged line.
  2. Step 2Clean the output
    Use sed/cut to strip spaces and isolate the picoCTF string.

Flag

picoCTF{gr3p_15_@w3s0m3_2116...}

Classic grep exercise-useful reminder to search rather than scroll.