Skip to content

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

sfwebui: fix missing scanId variable declaration

bcolesb2fdddce7068
diff --git a/sfwebui.py b/sfwebui.py
index 5c4bc2c3..1fee7b9f 100644
--- a/sfwebui.py
+++ b/sfwebui.py
@@ -418,7 +418,7 @@ class SpiderFootWebUi:
# Start running a new scan
try:
s = SpiderFootScanner(scanname, scantarget, targetType, modlist, cfg)
- s.getId()
+ scanId = s.getId()
except BaseException as e:
print("[-] Failed to initialize scan: %s" % e)
return self.error("Failed to initialize scan: %s" % e)