SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
Python attacksurfacecticybersecurityfootprintinghackinginformation-gatheringinformation-securityinfosecintelligence-gatheringosintosint-frameworkosint-reconnaissanceosint-toolpentestingpythonreconsecurity-toolsthreat-intelligencethreatintel
Added hash check for prevention of duplicate eventData
Krishnasis Mandal6a68ece0dd86
diff --git a/modules/sfp_countryname.py b/modules/sfp_countryname.pyindex e853dade..4c888517 100644--- a/modules/sfp_countryname.py+++ b/modules/sfp_countryname.py@@ -264,12 +264,14 @@ class sfp_countryname(SpiderFootPlugin):myres = list()+ # Generate event data hash+ eventDataHash = self.sf.hashstring(eventData)# Don't parse duplicate data- if eventData in myres:+ if eventDataHash in myres:self.sf.debug("Already found from this source")return None- myres.append(eventData)+ myres.append(eventDataHash)countryNames = list()