You are an IT Security Engineer for Hulu. There have been a lot of breaches , so you are installing a peer-based firewall
You are an IT Security Engineer for Hulu. There have been a lot of breaches , so you are installing a peer-based firewall to stop traffic from known malicious networks . You have a list of them in your system badIP variable. Unfortunately, there has been a false positive. You know the IP address that were blocked as a false positive ended .88, so now we need a list of all IP addresses that end in .88.
• Print a header stating this is the bad IP.
• Loop through every value in the bad IP list.
• Test to see if the IP selected ends in .88 (hint you will have to test the value INSIDE the string but remember .88 could appear elsewhere.)
• If the IP address ends in .88add to a list array you call ” investigatelP “.
• If it does not move on to the next IP address.
• Print the “investigateIP variable for further investigation.
This is a Python question
Expert Answer
This solution was written by a subject matter expert. It’s designed to help students like you learn core concepts.
1st step
All steps
Answer only
Step 1/1
badIP = [“10.0.0.1”, “192.168.1.88”, “192.168.0.88”, “10.0.0.88”, “172.16.1.1”]
investigateIP = []
OR