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: 490a0046304402204bdd7ed5245adf5ce43bb2a78594d334bf64b393da703ce6e2549d29d7a08d19022038ae2969efb8250b1c1672be13225478df9d71b03e651940ed9207774dbfb3ff:922c64590222798bb761d5b6d8e72950