mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2025-12-18 12:45:27 +00:00
29 lines
625 B
YAML
29 lines
625 B
YAML
|
|
id: dns-http-dynamic-values
|
||
|
|
|
||
|
|
info:
|
||
|
|
name: multi protocol request with dynamic values
|
||
|
|
author: pdteam
|
||
|
|
severity: info
|
||
|
|
|
||
|
|
dns:
|
||
|
|
- name: "{{FQDN}}" # DNS Request
|
||
|
|
type: cname
|
||
|
|
|
||
|
|
extractors:
|
||
|
|
- type: dsl
|
||
|
|
name: blogid
|
||
|
|
dsl:
|
||
|
|
- trim_suffix(cname,'.ghost.io.')
|
||
|
|
internal: true
|
||
|
|
|
||
|
|
http:
|
||
|
|
- method: GET # http request
|
||
|
|
path:
|
||
|
|
- "{{BaseURL}}"
|
||
|
|
|
||
|
|
matchers:
|
||
|
|
- type: dsl
|
||
|
|
dsl:
|
||
|
|
- contains(body,'ProjectDiscovery.io') # check for http string
|
||
|
|
- blogid == 'projectdiscovery' # check for cname (extracted information from dns response)
|
||
|
|
condition: and
|