SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
Python attacksurfacecticybersecurityfootprintinghackinginformation-gatheringinformation-securityinfosecintelligence-gatheringosintosint-frameworkosint-reconnaissanceosint-toolpentestingpythonreconsecurity-toolsthreat-intelligencethreatintel
sfp_bgpview: Add support for NETBLOCKV6_MEMBER (#1438)
bcoles1c22206904a0
diff --git a/modules/sfp_bgpview.py b/modules/sfp_bgpview.pyindex 25b248ad..638b8384 100644--- a/modules/sfp_bgpview.py+++ b/modules/sfp_bgpview.py@@ -54,11 +54,22 @@ class sfp_bgpview(SpiderFootPlugin):self.opts[opt] = userOpts[opt]def watchedEvents(self):- return ['IP_ADDRESS', 'IPV6_ADDRESS', 'BGP_AS_MEMBER', 'NETBLOCK_MEMBER']+ return [+ 'IP_ADDRESS',+ 'IPV6_ADDRESS',+ 'BGP_AS_MEMBER',+ 'NETBLOCK_MEMBER',+ 'NETBLOCKV6_MEMBER'+ ]def producedEvents(self):- return ['BGP_AS_MEMBER', 'NETBLOCK_MEMBER',- 'PHYSICAL_ADDRESS', 'RAW_RIR_DATA']+ return [+ 'BGP_AS_MEMBER',+ 'NETBLOCK_MEMBER',+ 'NETBLOCKV6_MEMBER',+ 'PHYSICAL_ADDRESS',+ 'RAW_RIR_DATA'+ ]def queryAsn(self, qry):res = self.sf.fetchUrl("https://api.bgpview.io/asn/" + qry.replace('AS', ''),