QuestionQ108

VerifiedForensics Techniques

Question Image

Refer to the exhibit. A network administrator creates an Apache log parser using Python. What must be added in the blank section of code to meet the requirement?

Explanation

re.findall() must match each IPv4 address in the Apache log so the resulting list can be counted. The pattern \d{1,3} matches a one- to three-digit octet, and escaped periods separate the four octets of an IPv4 address.

Community Discussion

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