Clear it in 3 steps
-
Start the environment
-
Investigate the target
-
Submit the flag
The file /app/access.log contains thousands of access log entries. Extract all entries where the IP address starts with "192.168.1." AND the status code is 404. Conditions: - IP address: 192.168.1.xxx - Status code: 404 - The number of matching lines is the flag Hint: Use grep with regular expressions
Check the basic usage of grep command (man grep)
You can combine multiple greps using pipe (|)
Or use regex ".*" in a single grep: grep '192\.168\.1\..*404'