Clear it in 3 steps
-
Start the environment
-
Investigate the target
-
Submit the flag
/app/data.txt contains various data formats. Extract lines that satisfy ALL conditions: 1. Contains email format (xxx@yyy.zzz) 2. Contains phone number (xxx-xxxx-xxxx or xxx.xxxx.xxxx) 3. Contains IP address (xxx.xxx.xxx.xxx) 4. Contains date (YYYY-MM-DD format) Lines containing all of these are the flag. Hint: Combine multiple regex patterns
Records mix emails, IPs, phones and URLs; express the valid formats as regexes
Only one line contains both a valid email and an IP address
Chaining two grep -E filters narrows it down