Skip to content

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

Fix undefined name: 'name' --> 'eventData'

Christian Clauss81ccab16009c
diff --git a/modules/sfp_hackertarget.py b/modules/sfp_hackertarget.py
index 1f6a881f..4dfe7896 100644
--- a/modules/sfp_hackertarget.py
+++ b/modules/sfp_hackertarget.py
@@ -238,7 +238,7 @@ class sfp_hackertarget(SpiderFootPlugin):
if strdata.endswith("."):
hosts.append(strdata[:-1])
else:
- hosts.append(strdata + "." + name)
+ hosts.append(strdata + "." + eventData)
for host in set(hosts):
if self.getTarget().matches(host, includeChildren=True, includeParents=True):