SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
Python attacksurfacecticybersecurityfootprintinghackinginformation-gatheringinformation-securityinfosecintelligence-gatheringosintosint-frameworkosint-reconnaissanceosint-toolpentestingpythonreconsecurity-toolsthreat-intelligencethreatintel
Changed truncation method.
smicallef9ddf79d92627
diff --git a/modules/sfp__stor_db.py b/modules/sfp__stor_db.pyindex 2f753622..e9a033b0 100644--- a/modules/sfp__stor_db.py+++ b/modules/sfp__stor_db.py@@ -64,9 +64,7 @@ class sfp__stor_db(SpiderFootPlugin):if self.opts['maxstorage'] != 0:if len(sfEvent.data) > self.opts['maxstorage']:- sf.debug("Truncated " + sfEvent.eventType + " data due to storage limitation")- sfEvent.truncateData(self.opts['maxstorage'])- sfdb.scanEventStore(self.opts['__guid__'], sfEvent)+ sfdb.scanEventStore(self.opts['__guid__'], sfEvent, self.opts['maxstorage'])return Nonesfdb.scanEventStore(self.opts['__guid__'], sfEvent)