Skip to content

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

Handle empty responses.

smicallefc8ca6ced4b28
diff --git a/modules/sfp_crt.py b/modules/sfp_crt.py
index 01d9111f..72c46fa8 100644
--- a/modules/sfp_crt.py
+++ b/modules/sfp_crt.py
@@ -74,6 +74,9 @@ class sfp_crt(SpiderFootPlugin):
self.sf.info("No certificate transparency info found for " + eventData)
return None
+ if res['content'] == "[]":
+ return None
+
try:
evt = SpiderFootEvent("SEARCH_ENGINE_WEB_CONTENT", res['content'], self.__name__, event)
self.notifyListeners(evt)