mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2025-12-18 05:05:23 +00:00
* fix trailing dot * remove trailing dot from `domain` * remove trailing dots from answer * remove dots * fix integration test
26 lines
629 B
YAML
26 lines
629 B
YAML
id: dns-ssl-http-proto-prefix
|
|
|
|
info:
|
|
name: multi protocol request with dynamic values
|
|
author: pdteam
|
|
severity: info
|
|
|
|
dns:
|
|
- name: "{{FQDN}}" # DNS Request
|
|
type: cname
|
|
|
|
ssl:
|
|
- address: "{{Hostname}}" # ssl request
|
|
|
|
http:
|
|
- method: GET # http request
|
|
path:
|
|
- "{{BaseURL}}"
|
|
|
|
matchers:
|
|
- type: dsl
|
|
dsl:
|
|
- contains(http_body,'ProjectDiscovery.io') # check for http string
|
|
- trim_suffix(dns_cname,'.ghost.io') == 'projectdiscovery' # check for cname (extracted information from dns response)
|
|
- ssl_subject_cn == 'blog.projectdiscovery.io'
|
|
condition: and |