21 lines
609 B
YAML
21 lines
609 B
YAML
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
|
|
ssl:
|
|
- address: "{{Host}}:{{Port}}"
|
|
|
|
extractors:
|
|
- type: json
|
|
json:
|
|
- ".subject_an[]"
|
|
|
|
# digest: 490a0046304402204b75178e9bd16b65589ab163f832e90ff572000ebbbb783fefa2229b49bbd21802202f08a9ba96f902169d7e1f1b4b530a93b18b26b253f11d63baa7c59872cb99a9:922c64590222798bb761d5b6d8e72950
|