Gorest API Test
ID: api-gorest
Severity: info
Author: daffainfo
Tags: token-spray,gorest
Description
Section titled “Description”Online REST API for Testing and Prototyping
YAML Source
Section titled “YAML Source”id: api-gorest
info: name: Gorest API Test author: daffainfo severity: info description: Online REST API for Testing and Prototyping reference: - https://gorest.co.in/ - https://github.com/daffainfo/all-about-apikey/tree/main/gorest metadata: max-request: 1 tags: token-spray,gorest
self-contained: true
http: - raw: - | GET https://gorest.co.in/public/v2/users HTTP/1.1 Host: gorest.co.in Content-Type: application/json Authorization: Bearer {{token}}
{"name":"Tenali Ramakrishna", "gender":"male", "email":"[email protected]", "status":"active"}
matchers-condition: and matchers: - type: status status: - 201
- type: word part: body words: - '"name"'# digest: 4a0a004730450221009ea17b0f76cd379bf83727db88996b937553bb6df11bcfd060cec5430e1ffbd8022019506933bffc52bbf0e2399e3bd228bce1b09285c64f9cf4c926250838c11326:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”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.
$ nuclei -u "URL" -t "http/token-spray/api-gorest.yaml"