id: ssl-dns-names

info:
  name: SSL DNS Names
  author: pdteam
  severity: info
  description: |
    Extract the Subject Alternative Name (SAN) from the target's certificate. SAN facilitates the usage of additional hostnames with the same certificate.
  metadata:
    max-request: 1
  tags: ssl,tls,vuln
ssl:
  - address: "{{Host}}:{{Port}}"

    extractors:
      - type: json
        json:
          - ".subject_an[]"
# digest: 4a0a0047304502202f0084f4919c1764e68fbcf16067ed2f006460ab1e25a5e335575e18a103c10b022100e90a831f9fb8b3a4522d468287a87ac1e9601222c29c30504cad812dee418f69:922c64590222798bb761d5b6d8e72950