id: azure-website-enum

info:
  name: Azure Websites - Cloud Enumeration
  author: initstring
  severity: info
  description: |
    Searches for Azure websites that are registered and responding.
  metadata:
    verified: true
    max-request: 1
  tags: cloud,enum,azure

self-contained: true

variables:
  BaseDNS: "azurewebsites.net"

http:
  - raw:
      - |
        GET https://{{wordlist}}.{{BaseDNS}} HTTP/1.1
        Host: {{wordlist}}.{{BaseDNS}}

    redirects: false

    attack: batteringram
    threads: 10

    matchers:
      - type: status
        name: "Available Azure Website"
        status:
          - 200
          - 302
        condition: or
# digest: 490a004630440220126c63ac565607c646bd1900a65df995c60286fc15c2b779797206c86f0873880220068e36f8ca880bf0632051bb1e4bea5e97a012243737da3b48ee063e6ccac964:922c64590222798bb761d5b6d8e72950