EOF{u_r_@_ch!ck3n}First, I tried opening the PDF normally — it showed nothing meaningful or just blank content. This hinted that the real information might not be visible through a regular PDF viewer.
ls -l Nothing_hidden_inside.pdf
# Confirmed file has reasonable size, suggesting hidden text
Given the hint and the category (Steg), I decided to inspect the raw content of the file instead of viewing it normally.
cat Nothing_hidden_inside.pdf
Since PDF files can be quite verbose, I filtered for the end section (where PDF metadata or extra text might be hidden):
cat Nothing_hidden_inside.pdf | grep EOF
The command output revealed a series of characters just before the %%EOF marker:
{u_r_@_ch!ck3n}%
Following the given flag format (EOF{}), the flag becomes:
Flag: EOF{u_r_@_ch!ck3n}
Translation: "You are a chicken" 🐔
%%EOF marker tells PDF readers where the file ends%%EOF is ignored by PDF readers but visible in raw contentcat - Display raw file contentgrep - Search for EOF patternstrings - Alternative for extracting readable text# Method 1: Using strings
strings Nothing_hidden_inside.pdf | grep -i "eof"
# Method 2: Using tail (last lines)
tail -n 5 Nothing_hidden_inside.pdf
# Method 3: Using hex editor
hexdump -C Nothing_hidden_inside.pdf | tail -n 20
| Step | Action | Result |
|---|---|---|
| 1 | Opened PDF normally | Nothing visible |
| 2 | Used cat and grep EOF |
Revealed hidden text |
| 3 | Extracted flag in EOF{} format |
Success! |