Skip to content

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

Bug fix (Issue #50)

smicallefba7adaa70ca8
diff --git a/modules/sfp_ir.py b/modules/sfp_ir.py
index 95ad789d..4e24558e 100644
--- a/modules/sfp_ir.py
+++ b/modules/sfp_ir.py
@@ -278,7 +278,7 @@ class sfp_ir(SpiderFootPlugin):
# already found this AS before.
if not self.nbreported.has_key(eventData):
# Find all the netblocks owned by this AS
- self.nbreported[asn] = True
+ self.nbreported[eventData] = True
netblocks = self.asNetblocks(eventData)
if netblocks != None:
for netblock in netblocks: