nuclei/integration_tests/dns/dsl-matcher-variable.yaml
Shubham Rasal f640187709
Expose DNS fields for matchers and extractors (#3613)
* Extend dns extractor to dns answer records

* add test template

* Ignore error for dns variables are not found

* Add all the records of answer section

* Fixed the wrong typecasting
2023-05-02 17:13:11 +05:30

23 lines
313 B
YAML

id: dns-template
info:
name: basic dns template
author: pdteam
severity: info
dns:
- name: "{{FQDN}}"
type: CNAME
matchers:
- type: dsl
dsl:
- "rcode == 0"
extractors:
- type: dsl
dsl:
- rcode
- cname
- a
- aaaa