SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
Python attacksurfacecticybersecurityfootprintinghackinginformation-gatheringinformation-securityinfosecintelligence-gatheringosintosint-frameworkosint-reconnaissanceosint-toolpentestingpythonreconsecurity-toolsthreat-intelligencethreatintel
Py2->Py3 fixes.
smicallefdf5dc9669bfc
diff --git a/dyn/newscan.tmpl b/dyn/newscan.tmplindex 1af9f8d8..0e35d3d8 100644--- a/dyn/newscan.tmpl+++ b/dyn/newscan.tmpl@@ -85,10 +85,10 @@%>% for it in sorted(modlist, key=lambda v: v.upper()):<% item = modlist[it] %>- <% keylist = dict((k, v) for k, v in modules[item]['opts'].iteritems() if not k.startswith('_')) %>+ <% keylist = dict((k, v) for k, v in modules[item]['opts'].items() if not k.startswith('_')) %><% keyicon = "" %>% if len(keylist) > 0:- <% apikeylist = dict((k, v) for k, v in modules[item]['opts'].iteritems() if k.find("api_key") >= 0) %>+ <% apikeylist = dict((k, v) for k, v in modules[item]['opts'].items() if k.find("api_key") >= 0) %><%if len(apikeylist) > 0:keyicon = " <i class=\"icon-lock\" rel='tooltip' title='Needs API key'></i>"diff --git a/sfwebui.py b/sfwebui.pyindex f29eae85..75c3c3c8 100644--- a/sfwebui.py+++ b/sfwebui.py@@ -456,7 +456,7 @@ class SpiderFootWebUi:if res is None:return self.error("Scan ID not found.")- templ = Template(filename='dyn/scaninfo.tmpl', lookup=self.lookup, disable_unicode=True, input_encoding='utf-8')+ templ = Template(filename='dyn/scaninfo.tmpl', lookup=self.lookup, input_encoding='utf-8')return templ.render(id=id, name=cgi.escape(res[0]), status=res[5], docroot=self.docroot,pageid="SCANLIST")