Skip to content

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

sfp_tool_nmap: Return on being unable to locate the binary.

smicallef7bdb7df7c9d3
diff --git a/modules/sfp_tool_nmap.py b/modules/sfp_tool_nmap.py
index 336ea793..ce994f35 100644
--- a/modules/sfp_tool_nmap.py
+++ b/modules/sfp_tool_nmap.py
@@ -126,6 +126,7 @@ class sfp_tool_nmap(SpiderFootPlugin):
else:
self.error("Could not recognize your nmap path configuration.")
self.errorState = True
+ return
# If tool is not found, abort
if not os.path.isfile(exe):