SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
Python attacksurfacecticybersecurityfootprintinghackinginformation-gatheringinformation-securityinfosecintelligence-gatheringosintosint-frameworkosint-reconnaissanceosint-toolpentestingpythonreconsecurity-toolsthreat-intelligencethreatintel
sfdb: Ensure search function returns a list
Brendan Colescf30b3229eb0
diff --git a/sfdb.py b/sfdb.pyindex 50b9e68a..858ec076 100644--- a/sfdb.py+++ b/sfdb.py@@ -327,8 +327,11 @@ class SpiderFootDb:list: search results"""+ if not isinstance(criteria, dict):+ return list()+if list(criteria.values()).count(None) == 3:- return []+ return list()qvars = list()qry = "SELECT ROUND(c.generated) AS generated, c.data, \