Skip to content

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

Bug fix.

smicallef77ec4f0635c3
diff --git a/sfwebui.py b/sfwebui.py
index b7ce0900..2faed08b 100644
--- a/sfwebui.py
+++ b/sfwebui.py
@@ -336,7 +336,8 @@ class SpiderFootWebUi:
return self.error("Something went wrong internally.")
modlist = scanconfig['_modulesenabled'].split(',')
- modlist.remove("sfp__stor_stdout")
+ if "stp__stor_stdout" in modlist:
+ modlist.remove("sfp__stor_stdout")
targetType = sf.targetType(scantarget)
if targetType == None:
@@ -383,7 +384,8 @@ class SpiderFootWebUi:
return self.error("Something went wrong internally.")
modlist = scanconfig['_modulesenabled'].split(',')
- modlist.remove("sfp__stor_stdout")
+ if "stp__stor_stdout" in modlist:
+ modlist.remove("sfp__stor_stdout")
targetType = sf.targetType(scantarget)
if targetType == None:
@@ -811,7 +813,8 @@ class SpiderFootWebUi:
return json.dumps(["ERROR", "Unrecognised target type."])
# Delete the stdout module in case it crept in
- modlist.remove("sfp__stor_stdout")
+ if "stp__stor_stdout" in modlist:
+ modlist.remove("sfp__stor_stdout")
# Start running a new scan
scanId = sf.genScanInstanceGUID(scanname)