SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
Python attacksurfacecticybersecurityfootprintinghackinginformation-gatheringinformation-securityinfosecintelligence-gatheringosintosint-frameworkosint-reconnaissanceosint-toolpentestingpythonreconsecurity-toolsthreat-intelligencethreatintel
SpiderFootDB: Remove SpiderFoot import requirement
Brendan Coles5688490b2f2e
diff --git a/spiderfoot/db.py b/spiderfoot/db.pyindex ac0df557..b23ac05e 100644--- a/spiderfoot/db.py+++ b/spiderfoot/db.py@@ -15,8 +15,6 @@ import sqlite3import threadingimport time-from sflib import SpiderFoot-class SpiderFootDb:"""SpiderFoot database@@ -265,9 +263,7 @@ class SpiderFootDb:if not opts.get('__database'):raise ValueError("opts['__database'] is empty")- sf = SpiderFoot(opts)-- database_path = f"{sf.dataPath()}/{opts['__database']}"+ database_path = opts['__database']# connect() will create the database file if it doesn't exist, but# at least we can use this opportunity to ensure we have permissions to