Files
nuclei-templates/http/token-spray/api-mailgun.yaml
2024-12-01 13:57:55 +00:00

32 lines
853 B
YAML

id: api-mailgun
info:
name: Mailgun API Test
author: zzeitlin
severity: info
description: Email Service
reference:
- https://documentation.mailgun.com/en/latest/api-intro.html
- https://github.com/daffainfo/all-about-apikey/tree/main/mailgun
metadata:
max-request: 1
tags: token-spray,mailgun
self-contained: true
http:
- method: GET
path:
- "https://api.mailgun.net/v3/domains"
headers:
Authorization: Basic {{base64('api:' + token)}}
matchers:
- type: word
part: body
words:
- '"total_count":'
- '"items":'
- '"created_at":'
condition: and
# digest: 4b0a004830460221009dd7c0f92e308fea0d256767beeb18e4a6b35b371c11a0fb5068651e1106064c022100ad2ad4c5c754f34089172cc379c6916a4da100202b727c972cecdd07da1f23cf:922c64590222798bb761d5b6d8e72950