SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
Python attacksurfacecticybersecurityfootprintinghackinginformation-gatheringinformation-securityinfosecintelligence-gatheringosintosint-frameworkosint-reconnaissanceosint-toolpentestingpythonreconsecurity-toolsthreat-intelligencethreatintel
No database storage if desired.
Steve Micallefca2699ea8808
diff --git a/modules/sfp__stor_db.py b/modules/sfp__stor_db.pyindex d5eee0db..49810cf7 100644--- a/modules/sfp__stor_db.py+++ b/modules/sfp__stor_db.py@@ -19,7 +19,8 @@ class sfp__stor_db(SpiderFootPlugin):# Default optionsopts = {- 'maxstorage': 1024 # max bytes for any piece of info stored (0 = unlimited)+ 'maxstorage': 1024, # max bytes for any piece of info stored (0 = unlimited)+ '_store': True}# Option descriptions@@ -41,6 +42,9 @@ class sfp__stor_db(SpiderFootPlugin):# Handle events sent to this moduledef handleEvent(self, sfEvent):+ if not self.opts['_store']:+ return None+if self.opts['maxstorage'] != 0:if len(sfEvent.data) > self.opts['maxstorage']:self.sf.debug("Storing an event: " + sfEvent.eventType)