Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
projectdiscovery
GitHub Repository: projectdiscovery/nuclei
Path: blob/dev/integration_tests/protocols/multi/dynamic-values.yaml
2070 views
1
id: dns-http-dynamic-values
2
3
info:
4
name: multi protocol request with dynamic values
5
author: pdteam
6
severity: info
7
8
dns:
9
- name: "{{FQDN}}" # DNS Request
10
type: cname
11
12
extractors:
13
- type: dsl
14
name: blogid
15
dsl:
16
- trim_suffix(cname,'.vercel-dns.com')
17
internal: true
18
19
http:
20
- method: GET # http request
21
path:
22
- "{{BaseURL}}"
23
24
matchers:
25
- type: dsl
26
dsl:
27
- contains(body,'home') # check for http string
28
- blogid == 'cname' # check for cname (extracted information from dns response)
29
condition: and
30