my-nuclei-templates/api-mojoauth.yaml

27 lines
571 B
YAML
Raw Permalink Normal View History

2022-06-18 08:05:25 +00:00
id: api-mojoauth
info:
name: MojoAuth API Test
author: daffainfo
severity: info
reference:
- https://mojoauth.com/docs/
- https://github.com/daffainfo/all-about-apikey/blob/main/Authentication/MojoAuth.md
tags: token-spray,mojoauth
self-contained: true
requests:
- raw:
- |
POST https://api.mojoauth.com/token/jwks HTTP/1.1
Host: api.mojoauth.com
X-API-Key: {{token}}
matchers:
- type: word
part: body
words:
- '"keys"'
- '"kty"'
- '"kid"'
condition: and