Clear it in 3 steps
-
Start the environment
-
Investigate the target
-
Submit the flag
The access log contains many lines, several of which include the flag. Chain commands together with pipes (|) to extract only the lines you need.
First filter lines containing "FLAG" with grep
awk can extract just a specific field (column)
Chain commands with pipes like grep | awk | sort | uniq