Skip to content

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

Mandatory storage module.

smicallef4611e9b8d56c
diff --git a/dyn/newscan.tmpl b/dyn/newscan.tmpl
index 198068a0..7992bdde 100644
--- a/dyn/newscan.tmpl
+++ b/dyn/newscan.tmpl
@@ -66,7 +66,9 @@ Another scan is currently running (${runningScan}). Please either wait for that
</ul>
<table class="table table-striped table-condensed" id="moduletable">
% for item in sorted(modules):
- <tr><td><input type=checkbox id="module_${item}" checked></td><td>${modules[item]['name']}</td><td>${modules[item]['descr']}</td></tr>
+ % if item != "sfp__stor_db":
+ <tr><td><input type=checkbox id="module_${item}" checked></td><td>${modules[item]['name']}</td><td>${modules[item]['descr']}</td></tr>
+ % endif
% endfor
</table>
<table class="table table-striped table-condensed" id="typetable" style='display: none'>
diff --git a/sfwebui.py b/sfwebui.py
index 9e8fd3ec..30d08378 100644
--- a/sfwebui.py
+++ b/sfwebui.py
@@ -215,9 +215,10 @@ class SpiderFootWebUi:
newmodcpy = deepcopy(newmods)
newmods = list()
- # Add our mandatory storage module..
+ # Add our mandatory storage module..
+ if "sfp__stor_db" not in modlist:
modlist.append("sfp__stor_db")
- modlist.sort()
+ modlist.sort()
# For now we don't permit multiple simultaneous scans
for thread in threading.enumerate():