nuclei-templates/apis/mailgun.yaml

24 lines
584 B
YAML

id: api-mailgun
info:
name: Mailgun API Test
author: zzeitlin
reference: https://documentation.mailgun.com/en/latest/api-intro.html
severity: info
tags: api,mailgun
requests:
- method: GET
payloads:
token: token.txt
path:
- "https://api.mailgun.net/v3/domains"
redirects: false
headers:
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36
Authorization: Basic {{base64('api:' + token)}}
matchers:
- type: status
status:
- 200