Skip to content

Micro User Service API Test

ID: api-micro-user-service

Severity: info

Author: daffainfo

Tags: token-spray,micro-user-service

User management and authentication

id: api-micro-user-service
info:
name: Micro User Service API Test
author: daffainfo
severity: info
description: User management and authentication
reference:
- https://m3o.com/user
- https://github.com/daffainfo/all-about-apikey/tree/main/micro-user-service
metadata:
max-request: 1
tags: token-spray,micro-user-service
self-contained: true
http:
- raw:
- |
POST https://api.m3o.com/v1/user/Read HTTP/1.1
Host: api.m3o.com
Content-Type: application/json
Authorization: Bearer {{token}}
Content-Length: 21
{
"id": "usrid-1"
}
matchers:
- type: word
part: body
words:
- '"username":'
- '"email":'
- '"created":'
- '"updated":'
condition: and
# digest: 4a0a00473045022100bab762655a638f01203aabcfab516714f1c7ed8612f410a6ccf6cddb1cf3ecee022009dffcc4cb21c45a202701102aed48ed2c72e4a7a9d10d3d09433ecc31683a7c: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-micro-user-service.yaml"

View on Github