QuestionQ19

Forensics Techniques

Which script searches a log file for the IP address 192.168.100.100, creates an output file named parsed_host.log, and prints the results to the console?

  • A
  • B
  • C
  • D
Explanation

The script must compile a regular expression that matches 192.168.100.100, read an actual log file, print matching lines, and write them to output/parsed_host.log. Only choice D satisfies all of these requirements.

Community Discussion

No comments yet. Be the first to start the discussion!