Skip to content

SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.

Bug fix handling IPv6 addresses.

smicallef7ea9aa2bec79
diff --git a/modules/sfp_dns.py b/modules/sfp_dns.py
index a65356eb..d173cb7e 100644
--- a/modules/sfp_dns.py
+++ b/modules/sfp_dns.py
@@ -175,6 +175,8 @@ class sfp_dns(SpiderFootPlugin):
self.sf.debug("Looking up IPs in owned netblock: " + eventData)
for ip in IPNetwork(eventData):
ipaddr = str(ip)
+ if "::" in ipaddr:
+ continue
if ipaddr.split(".")[3] in ['255', '0']:
continue
if '255' in ipaddr.split("."):