Updating File - Allowed IP Addresses
I created this algorithm during Google's Cybersecurity Certificate Program.
Project description
From Function to Script
Entire code
Open the file that contains the allow list
Read the file contents
Convert the string into a list
Remove IP addresses that are on the remove list
Update the file with the revised list of IP addresses
Last updated