Skip to content

self-contained template support for dns protocol #3661

@ehsandeep

Description

@ehsandeep

Please describe your feature request:

Support for self-contained template in dns protocol to run more specific dns based cloud checks.

Describe the use case of this feature:

id: cloud-enum-azure-vm

info:
  name: Cloud Enumeration - Azure Virtual Machines
  author: initstring
  severity: info
  description: Searches for Azure virtual machines via their registered DNS names
  reference: tba
  tags: cloud,azure

self-contained: true
variables:
  baseDNS: "cloudapp.azure.com"


dns:
  - name: "{{keyword}}.{{regionName}}.{{baseDNS}}"
    type: A

    attack: batteringram
    payloads:
      regionName:
        - eastasia
        - southeastasia
        - centralus
        - eastus
        - eastus2
        - westus
        - northcentralus
        - southcentralus
        - northeurope
        - westeurope
        - japanwest
        - japaneast
nuclei -t dns.yaml -var keyword=list.txt

Anything else

projectdiscovery/nuclei-templates#6865

Metadata

Metadata

Assignees

Labels

Priority: MediumThis issue may be useful, and needs some attention.Type: EnhancementMost issues will probably ask for additions or changes.dnsdns protocol

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions