id: discord-webhook

info:
  name: Discord Webhook Disclosure
  author: Ice3man
  severity: info
  metadata:
    max-request: 1
  tags: exposure,token,discord

http:
  - method: GET
    path:
      - "{{BaseURL}}"

    extractors:
      - type: regex
        part: body
        regex:
          - 'https://discordapp\.com/api/webhooks/[0-9]+/[A-Za-z0-9\-]+'

# digest: 490a0046304402201cd1966bdc67b345d6f9e0b07bd05149194b348613aa4f5fc0a0aa241c921a50022070e859d6c4ce579ccd6bcd970be63c4b3108914f046d71c086a2e768c49f4984:922c64590222798bb761d5b6d8e72950
