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

37 lines
955 B
YAML
Raw Permalink Normal View History

2021-11-11 01:11:01 +00:00
id: api-stytch
info:
name: Stytch API Test
author: daffainfo
severity: info
description: User infrastructure for modern applications
2021-11-11 01:11:01 +00:00
reference:
2021-11-11 05:19:12 +00:00
- https://stytch.com/docs/api
- https://github.com/daffainfo/all-about-apikey/tree/main/stytch
metadata:
max-request: 1
2023-10-14 11:27:55 +00:00
tags: token-spray,stytch
2021-11-11 01:11:01 +00:00
self-contained: true
2023-10-14 11:27:55 +00:00
http:
2021-11-11 01:11:01 +00:00
- raw:
2021-11-11 09:17:10 +00:00
- |
POST https://test.stytch.com/v1/users HTTP/1.1
2021-11-11 11:52:47 +00:00
Authorization: Basic {{base64(id + ':' + secret)}}
2021-11-11 09:17:10 +00:00
Host: test.stytch.com
Content-Type: application/json
2021-11-11 05:21:16 +00:00
2021-11-11 09:17:10 +00:00
{"email": "test@stytch.com"}
2021-11-11 01:11:01 +00:00
matchers:
- type: word
part: body
words:
2021-11-11 05:19:12 +00:00
- '"status_code":'
- '"request_id":'
- '"user_id":'
2023-10-14 11:27:55 +00:00
condition: and
# digest: 4b0a00483046022100a5cd3e56f14a5ca4f85a1244c252638f6287c623c199acd405e00ea2c8d2b4cb022100a793ced41f64583f4441e567c70c60d66e152ee792c7cea85a713109202c1662:922c64590222798bb761d5b6d8e72950