Skip to content

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

Bug fix.

smicallefa38e40509a39
diff --git a/modules/sfp_crt.py b/modules/sfp_crt.py
index 5fa10653..e2747128 100644
--- a/modules/sfp_crt.py
+++ b/modules/sfp_crt.py
@@ -90,6 +90,7 @@ class sfp_crt(SpiderFootPlugin):
self.notifyListeners(evt)
domains = list()
+ fetch_certs = list()
for cert_info in data:
cert_id = cert_info.get('id')
@@ -100,6 +101,8 @@ class sfp_crt(SpiderFootPlugin):
continue
self.cert_ids[cert_id] = True
+ fetch_certs.append(cert_id)
+
domain = cert_info.get('name_value')
if '\n' in domain:
doms = domain.split("\n")
@@ -139,7 +142,7 @@ class sfp_crt(SpiderFootPlugin):
evt = SpiderFootEvent('DOMAIN_NAME', domain, self.__name__, event)
self.notifyListeners(evt)
- for cert_id in self.cert_ids:
+ for cert_id in fetch_certs:
if self.checkForStop():
return None