SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
Python attacksurfacecticybersecurityfootprintinghackinginformation-gatheringinformation-securityinfosecintelligence-gatheringosintosint-frameworkosint-reconnaissanceosint-toolpentestingpythonreconsecurity-toolsthreat-intelligencethreatintel
sfp_crt: Add the option to not fetch all certs found.
smicallefb83b7b89e56d
diff --git a/modules/sfp_crt.py b/modules/sfp_crt.pyindex 3bc32fc1..58fbf219 100644--- a/modules/sfp_crt.py+++ b/modules/sfp_crt.py@@ -41,10 +41,12 @@ class sfp_crt(SpiderFootPlugin):opts = {'verify': True,+ 'fetchcerts': True,}optdescs = {- 'verify': 'Verify certificate subject alternative names resolve.'+ 'verify': 'Verify certificate subject alternative names resolve.',+ 'fetchcerts': 'Fetch each certificate found, for processing by other modules.',}results = None@@ -121,7 +123,8 @@ class sfp_crt(SpiderFootPlugin):continueself.cert_ids[cert_id] = True- fetch_certs.append(cert_id)+ if self.opts['fetchcerts']:+ fetch_certs.append(cert_id)domain = cert_info.get('name_value')if '\n' in domain: