nuclei-templates/http/exposures/tokens/mailgun/mailgun-api-token.yaml

27 lines
742 B
YAML

id: mailgun-api-token
info:
name: Mailgun API Key
author: DhiyaneshDK
severity: info
reference:
- https://github.com/praetorian-inc/noseyparker/blob/main/data/default/rules/mailgun.yml
- https://documentation.mailgun.com/en/latest/api-intro.html#authentication-1
metadata:
verified: true
max-request: 1
tags: mailgun,token,exposure
http:
- method: GET
path:
- "{{BaseURL}}"
extractors:
- type: regex
part: body
regex:
- '(?i)(?:mailgun|mg).{0,20}key-([a-z0-9]{32})\b'
# digest: 4a0a00473045022100c5b88e09acc0c29dda70c71bf35f3ba4705e6f7afb43170ab948673fa8850dcf0220063634bc30e02933e80219885cb787988a10b27ec54a717807d865aefea50231:922c64590222798bb761d5b6d8e72950