SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
Python attacksurfacecticybersecurityfootprintinghackinginformation-gatheringinformation-securityinfosecintelligence-gatheringosintosint-frameworkosint-reconnaissanceosint-toolpentestingpythonreconsecurity-toolsthreat-intelligencethreatintel
sfwebui: Fix scandeletemulti redirect (#1057)
bcoles70645c66523e
diff --git a/sfwebui.py b/sfwebui.pyindex f41911f8..ca4fabf6 100644--- a/sfwebui.py+++ b/sfwebui.py@@ -766,6 +766,8 @@ class SpiderFootWebUi:for id in ids.split(','):res = dbh.scanInstanceGet(id)+ if not res:+ continuenames.append(str(res[0]))if res is None:return self.error("Scan ID not found (" + id + ").")@@ -776,7 +778,7 @@ class SpiderFootWebUi:if confirm:for id in ids.split(','):dbh.scanInstanceDelete(id)- raise cherrypy.HTTPRedirect(self.docroot)+ raise cherrypy.HTTPRedirect(f"{self.docroot}/")templ = Template(filename='dyn/scandelete.tmpl', lookup=self.lookup)return templ.render(id=None, name=None, ids=ids.split(','), names=names,