SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
Python attacksurfacecticybersecurityfootprintinghackinginformation-gatheringinformation-securityinfosecintelligence-gatheringosintosint-frameworkosint-reconnaissanceosint-toolpentestingpythonreconsecurity-toolsthreat-intelligencethreatintel
Result sorting.
smicallef07653576a080
diff --git a/sfdb.py b/sfdb.pyindex ebc1095d..cfa4df85 100644--- a/sfdb.py+++ b/sfdb.py@@ -138,13 +138,15 @@ class SpiderFootDb:# Obtain the data for a scan and event typedef scanResultEvent(self, instanceId, eventType='ALL'):qry = "SELECT ROUND(generated/1000) AS generated, event_data, event_source, \- event_data_source FROM tbl_scan_results WHERE scan_instance_id = ?"+ event_data_source, event FROM tbl_scan_results WHERE scan_instance_id = ?"qvars = [instanceId]if eventType != "ALL":qry = qry + " AND event = ?"qvars.append(eventType)+ qry = qry + " ORDER BY event_data, event_source"+try:self.dbh.execute(qry, qvars)return self.dbh.fetchall()