HKLM\\SYSTEM\\CurrentControlSet\\Services\\Tcpip\\Parameters\\Interfaces\\{ID}\\DhcpNameServer may contain multiple ips, separated by a space #951
Labels
bug
Something isn't working
core
Related to a core component of dissect.target
good first issue
Good for newcomers
DhcpNameServer may contain a list of server, separated by a space, causing the following error (crash) when the ips plugins is used :
ValueError: '172.16.0.3 172.16.0.4 does not appear to be an IPv4 or IPv6 address
Debug trace shows than these two IPS are considered as one element and not two element of the set
A simple fix would be to split on space when the value contains space :
dissect.target/dissect/target/plugins/os/windows/network.py
Line 357 in d6eb12e
The text was updated successfully, but these errors were encountered: