SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
Python attacksurfacecticybersecurityfootprintinghackinginformation-gatheringinformation-securityinfosecintelligence-gatheringosintosint-frameworkosint-reconnaissanceosint-toolpentestingpythonreconsecurity-toolsthreat-intelligencethreatintel
Bug fix for Chrome.
smicallef0b3ecd680e7e
diff --git a/dyn/scaninfo.tmpl b/dyn/scaninfo.tmplindex 07353e7c..f7b21b67 100644--- a/dyn/scaninfo.tmpl+++ b/dyn/scaninfo.tmpl@@ -72,7 +72,7 @@}}- function searchResults(instanceId, query, typeName=null) {+ function searchResults(instanceId, query, typeName) {// Remove pre-existing tables if they exist$("#scansummary-content").remove();navTo("btn-search");@@ -173,16 +173,6 @@});- /*dataloaders.push(- function() {- sf.fetchData('/scanhistory', {'id': instanceId}, function(data) {- hist = {};- for (i = 0; i < data.length; i++) {- }- });- }- );*/-dataloaders.push(function() {sf.fetchData('/scanerrors', {'id': instanceId}, function(data) {diff --git a/sfwebui.py b/sfwebui.pyindex b6640307..74139e0f 100644--- a/sfwebui.py+++ b/sfwebui.py@@ -505,7 +505,7 @@ class SpiderFootWebUi:parentId = row[9]childId = row[8]datamap[childId] = row- print childId + " = " + str(row)+ #print childId + " = " + str(row)if pc.has_key(parentId):if childId not in pc[parentId]:diff --git a/static/js/spiderfoot.js b/static/js/spiderfoot.jsindex 5065a86b..62e232e5 100644--- a/static/js/spiderfoot.js+++ b/static/js/spiderfoot.js@@ -35,7 +35,7 @@ sf.remove_sfurltag = function(data) {return data;}-sf.search = function(scan_id=null, value=null, type=null, postFunc) {+sf.search = function(scan_id, value, type, postFunc) {sf.fetchData("/search", { id: scan_id, eventType: type, value: value }, postFunc);}diff --git a/static/js/viz.js b/static/js/viz.jsindex eb429275..643084c4 100644--- a/static/js/viz.js+++ b/static/js/viz.js@@ -51,7 +51,7 @@ function sf_viz_countLevels(arg, levelsDeep, maxLevels) {// We've hit a member with children..if (p == "children" && data[i].children != null) {levels++;- [ levels, max ] = sf_viz_countLevels(data[i].children, levels, max);+ levels, max = sf_viz_countLevels(data[i].children, levels, max);}if (p == "children" && data[i].children == null) {