nuclei-templates/http/token-spray/api-mojoauth.yaml

34 lines
847 B
YAML

id: api-mojoauth
info:
name: MojoAuth API Test
author: daffainfo
severity: info
description: Secure and modern passwordless authentication platform
reference:
- https://mojoauth.com/docs/
- https://github.com/daffainfo/all-about-apikey/tree/main/mojoauth
metadata:
max-request: 1
tags: token-spray,mojoauth
self-contained: true
http:
- 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
# digest: 4a0a0047304502200506d39f1578c027a21bc88f89e4c08aeb679ca01db946d0b2bfb56e7d8c615d022100b6123ee1887fe67d62e526c14ad9b4bd755d1727085a16877bbb8b59651f33ba:922c64590222798bb761d5b6d8e72950