2023-06-09 19:52:56 +05:30
|
|
|
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:
|
2024-11-19 12:38:25 +07:00
|
|
|
- trim_suffix(cname,'.vercel-dns.com')
|
2023-06-09 19:52:56 +05:30
|
|
|
internal: true
|
|
|
|
|
|
|
|
|
|
http:
|
|
|
|
|
- method: GET # http request
|
|
|
|
|
path:
|
|
|
|
|
- "{{BaseURL}}"
|
|
|
|
|
|
|
|
|
|
matchers:
|
|
|
|
|
- type: dsl
|
|
|
|
|
dsl:
|
2025-02-13 16:32:50 +05:30
|
|
|
- contains(body,'home') # check for http string
|
2024-11-19 12:38:25 +07:00
|
|
|
- blogid == 'cname' # check for cname (extracted information from dns response)
|
2023-06-09 19:52:56 +05:30
|
|
|
condition: and
|