Agent: Add TODO about using Python's ipaddress library

This commit is contained in:
Mike Salvatore 2022-07-27 10:37:21 -04:00
parent 40b29ba99a
commit 6377ff4c66
1 changed files with 3 additions and 0 deletions

View File

@ -8,6 +8,9 @@ from infection_monkey.network import NetworkAddress, NetworkInterface
logger = logging.getLogger(__name__)
# TODO: We can probably reduce code and save ourselves some trouble if we use IPv4Address and
# IPv4Network. See https://docs.python.org/3/library/ipaddress.html
def compile_scan_target_list(
local_network_interfaces: List[NetworkInterface],