id: slack-webhook-token

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

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

    extractors:
      - type: regex
        part: body
        regex:
          - "https://hooks\\.slack\\.com/services/T[a-zA-Z0-9_]{8}/B[a-zA-Z0-9_]{8}/[a-zA-Z0-9_]{24}"

# digest: 4b0a00483046022100ae602c955166d3e0b45089f3507d30057d9690e94e4dd110c8e48069f051829c022100d509c084d91103e20ad2e5c75cbd5821e5cbdbbb6f72fa5263302610a191ec43:922c64590222798bb761d5b6d8e72950
