SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
Python attacksurfacecticybersecurityfootprintinghackinginformation-gatheringinformation-securityinfosecintelligence-gatheringosintosint-frameworkosint-reconnaissanceosint-toolpentestingpythonreconsecurity-toolsthreat-intelligencethreatintel
sfp_fortinet: Add support for IPV6_ADDRESS and AFFILIATE_IPV6_ADDRESS (#1434)
bcoles2420b4565a25
diff --git a/modules/sfp_fortinet.py b/modules/sfp_fortinet.pyindex b9ff1afa..684f6f39 100644--- a/modules/sfp_fortinet.py+++ b/modules/sfp_fortinet.py@@ -56,7 +56,7 @@ class sfp_fortinet(SpiderFootPlugin):# What events is this module interested in for inputdef watchedEvents(self):- return ["IP_ADDRESS", "AFFILIATE_IPADDR"]+ return ["IP_ADDRESS", "IPV6_ADDRESS", "AFFILIATE_IPADDR", "AFFILIATE_IPV6_ADDRESS"]# What events this module producesdef producedEvents(self):@@ -101,9 +101,9 @@ class sfp_fortinet(SpiderFootPlugin):self.results[eventData] = True- if eventName == 'IP_ADDRESS':+ if eventName in ['IP_ADDRESS', 'IPV6_ADDRESS']:evtType = 'MALICIOUS_IPADDR'- elif eventName == 'AFFILIATE_IPADDR':+ elif eventName in ['AFFILIATE_IPADDR', 'AFFILIATE_IPV6_ADDRESS']:if not self.opts.get('checkaffiliates', False):returnevtType = 'MALICIOUS_AFFILIATE_IPADDR'