SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
Python attacksurfacecticybersecurityfootprintinghackinginformation-gatheringinformation-securityinfosecintelligence-gatheringosintosint-frameworkosint-reconnaissanceosint-toolpentestingpythonreconsecurity-toolsthreat-intelligencethreatintel
sfdb: Fix scanInstanceGet return value
bcolescf50d47a0b34
diff --git a/sfdb.py b/sfdb.pyindex d526cd06..1bd89485 100644--- a/sfdb.py+++ b/sfdb.py@@ -585,9 +585,7 @@ class SpiderFootDb:with self.dbhLock:try:self.dbh.execute(qry, qvars)- ret = self.dbh.fetchone()- if not ret:- return list()+ return self.dbh.fetchone()except sqlite3.Error as e:raise IOError("SQL error encountered when retrieving scan instance:" + e.args[0])@@ -1340,4 +1338,3 @@ class SpiderFootDb:nextIds.append(row[8])return datamap-