nuclei-templates/http/token-spray/api-micro-user-service.yaml

41 lines
1017 B
YAML
Raw Normal View History

2021-11-02 11:12:45 +00:00
id: api-micro-user-service
info:
name: Micro User Service API Test
author: daffainfo
severity: info
description: User management and authentication
2021-11-02 11:12:45 +00:00
reference:
- https://m3o.com/user
- https://github.com/daffainfo/all-about-apikey/tree/main/micro-user-service
metadata:
max-request: 1
2023-10-14 11:27:55 +00:00
tags: token-spray,micro-user-service
2021-11-02 11:12:45 +00:00
self-contained: true
2023-10-14 11:27:55 +00:00
http:
2021-11-02 11:12:45 +00:00
- raw:
- |
2021-11-03 05:57:19 +00:00
POST https://api.m3o.com/v1/user/Read HTTP/1.1
2021-11-02 11:12:45 +00:00
Host: api.m3o.com
Content-Type: application/json
Authorization: Bearer {{token}}
Content-Length: 21
{
"id": "usrid-1"
}
2021-11-03 05:57:19 +00:00
2021-11-02 11:12:45 +00:00
matchers:
2021-11-02 11:24:31 +00:00
- type: word
part: body
words:
- '"username":'
- '"email":'
- '"created":'
- '"updated":'
condition: and
# digest: 4b0a00483046022100cfdeea7d5d4447506a3089bc0b996efa4b36d0995a1f762a8ddbafe304fa3927022100e23fa35c38446f980735dc10393bc2556667ea18de4d80558a69d82e2d402435:922c64590222798bb761d5b6d8e72950