Skip to content

Mailgun API Test

ID: api-mailgun

Severity: info

Author: zzeitlin

Tags: token-spray,mailgun

Email Service

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

This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.

Terminal window
$ nuclei -u "URL" -t "http/token-spray/api-mailgun.yaml"

View on Github