Skip to content

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

Minor fixes.

smicallefe8c87df5ba4d
diff --git a/modules/sfp_ahmia.py b/modules/sfp_ahmia.py
index fe5bc7a4..35a64061 100644
--- a/modules/sfp_ahmia.py
+++ b/modules/sfp_ahmia.py
@@ -105,6 +105,7 @@ class sfp_ahmia(SpiderFootPlugin):
continue
evt = SpiderFootEvent("DARKNET_MENTION_URL", link, self.__name__, event)
self.notifyListeners(evt)
+ reported = True
try:
startIndex = res['content'].index(eventData) - 120
diff --git a/modules/sfp_tool_whatweb.py b/modules/sfp_tool_whatweb.py
index 792d1207..437d0b37 100644
--- a/modules/sfp_tool_whatweb.py
+++ b/modules/sfp_tool_whatweb.py
@@ -131,6 +131,9 @@ class sfp_tool_whatweb(SpiderFootPlugin):
self.sf.error("Couldn't parse the JSON output of WhatWeb: " + str(e), False)
return None
+ if len(result_json) == 0:
+ return None
+
evt = SpiderFootEvent('RAW_RIR_DATA', str(result_json), self.__name__, event)
self.notifyListeners(evt)