Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Relational Database Technology

Authors: Suad Alagic

1st Edition

354096276X, 978-3540962762

More Books

Students also viewed these Databases questions