SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
Python attacksurfacecticybersecurityfootprintinghackinginformation-gatheringinformation-securityinfosecintelligence-gatheringosintosint-frameworkosint-reconnaissanceosint-toolpentestingpythonreconsecurity-toolsthreat-intelligencethreatintel
Bug fixes.
smicallef4f6200bddac8
diff --git a/sf.py b/sf.pyindex f218db42..edd3b2f2 100755--- a/sf.py+++ b/sf.py@@ -21,15 +21,15 @@ from sfwebui import SpiderFootWebUi, SpiderFootWebUiMini# These can be overriden on a per-module basis, and some will# be overridden from saved configuration settings stored in the DB.sfConfig = {- '_debug': True, # Debug+ '_debug': False, # Debug'__blocknotif': False, # Block notifications- '_useragent': 'SpiderFoot/2.0', # User-Agent to use for HTTP requests- '_fetchtimeout': 5, # number of seconds before giving up on a fetch+ '_useragent': 'SpiderFoot/2.0', # User-Agent to use for HTTP requests+ '_fetchtimeout': 5, # number of seconds before giving up on a fetch'__database': 'spiderfoot.db','__webaddr': '0.0.0.0','__webport': 5001,- '__guid__': None, # unique ID of scan. Will be set after start-up.- '__modules__': None # List of modules. Will be set after start-up.+ '__guid__': None, # unique ID of scan. Will be set after start-up.+ '__modules__': None # List of modules. Will be set after start-up.}sfOptdescs = {diff --git a/sfdb.py b/sfdb.pyindex 09bee4e9..5d3a8145 100644--- a/sfdb.py+++ b/sfdb.py@@ -173,9 +173,9 @@ class SpiderFootDb:# Get scan logsdef scanLogs(self, instanceId):- qry = "SELECT ROUND(generated/1000) AS generated, component, \+ qry = "SELECT generated AS generated, component, \type, message FROM tbl_scan_log WHERE scan_instance_id = ? \- ORDER BY ROUND(generated/1000) DESC"+ ORDER BY generated DESC"qvars = [instanceId]try:diff --git a/sfscan.py b/sfscan.pyindex 13192d58..778789c3 100644--- a/sfscan.py+++ b/sfscan.py@@ -49,7 +49,6 @@ class SpiderFootScanner:return Nonefor modName in self.moduleInstances.keys():- self.sf.status("Signalling module " + modName + " to stop.")self.moduleInstances[modName].stopScanning()# Start running a scandiff --git a/sfwebui.py b/sfwebui.pyindex cf29626b..7c7f78ad 100644--- a/sfwebui.py+++ b/sfwebui.py@@ -225,7 +225,7 @@ class SpiderFootWebUi:data = dbh.scanLogs(id)retdata = []for row in data:- generated = time.strftime("%d/%m/%Y %H:%M:%S", time.localtime(row[0]))+ generated = time.strftime("%d/%m/%Y %H:%M:%S", time.localtime(row[0]/1000))retdata.append([generated, row[1], row[2], cgi.escape(row[3])])return json.dumps(retdata)scanlog.exposed = True