MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / _describe_deployment

Function _describe_deployment

recon_engine.py:750–762  ·  view source on GitHub ↗
(dep)

Source from the content-addressed store, hash-verified

748 if cert_attempt and getattr(cert_attempt, "result", None):
749 cert_result = cert_attempt.result
750 deployments = getattr(cert_result, "certificate_deployments", []) or []
751 for dep in deployments:
752 for cert in getattr(dep, "received_certificate_chain", []) or []:
753 _add_cert_findings(findings, host, port, cert)
754 artifacts.setdefault("cert_deployments", []).append(_describe_deployment(dep))
755
756 for attr, label, severity in (
757 ("ssl_2_0_cipher_suites", "SSLv2", VulnSeverity.HIGH),
758 ("ssl_3_0_cipher_suites", "SSLv3", VulnSeverity.HIGH),
759 ("tls_1_0_cipher_suites", "TLS 1.0", VulnSeverity.MEDIUM),
760 ("tls_1_1_cipher_suites", "TLS 1.1", VulnSeverity.MEDIUM),
761 ):
762 attempt = getattr(attempts, attr, None)
763 if not attempt or not getattr(attempt, "result", None):
764 continue
765 accepted = getattr(attempt.result, "accepted_cipher_suites", []) or []

Callers 1

_parse_sslyze_resultFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected