mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2025-12-24 04:05:26 +00:00
* use parsed options while signing * update project layout to v3 * fix .gitignore * remove example template * misc updates * bump tlsx version * hide template sig warning with env * js: retain value while using log * fix nil pointer derefernce * misc doc update --------- Co-authored-by: sandeep <8293321+ehsandeep@users.noreply.github.com>
42 lines
757 B
YAML
42 lines
757 B
YAML
id: nuclei-flow-dns
|
|
|
|
info:
|
|
name: Nuclei flow dns
|
|
author: pdteam
|
|
severity: info
|
|
description: Description of the Template
|
|
reference: https://example-reference-link
|
|
|
|
flow: |
|
|
dns("fetch-ns");
|
|
template["nameservers"].forEach(nameserver => {
|
|
set("nameserver",nameserver);
|
|
dns("probe-ns");
|
|
});
|
|
|
|
dns:
|
|
- id: "fetch-ns"
|
|
name: "{{FQDN}}"
|
|
type: NS
|
|
matchers:
|
|
- type: word
|
|
words:
|
|
- "IN\tNS"
|
|
extractors:
|
|
- type: regex
|
|
internal: true
|
|
name: "nameservers"
|
|
group: 1
|
|
regex:
|
|
- "IN\tNS\t(.+)"
|
|
|
|
- id: "probe-ns"
|
|
name: "{{nameserver}}"
|
|
type: A
|
|
class: inet
|
|
retries: 3
|
|
recursion: true
|
|
extractors:
|
|
- type: dsl
|
|
dsl:
|
|
- "a" |