mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-02-05 02:03:35 +08:00
36 lines
943 B
YAML
36 lines
943 B
YAML
id: torchserve-detect
|
|
|
|
info:
|
|
name: TorchServe API Description - Detect
|
|
author: DhiyaneshDk
|
|
severity: info
|
|
description: |
|
|
Detects the presence of TorchServe APIs.
|
|
metadata:
|
|
verified: true
|
|
max-request: 1
|
|
vendor: pytorch
|
|
product: torchserve
|
|
fofa-query: body="Requested method is not allowed, please refer to API document"
|
|
tags: tech,pytorch,api
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/api-description"
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- 'TorchServe APIs"'
|
|
- '"apiDescription"'
|
|
- 'operationId":'
|
|
condition: or
|
|
|
|
- type: word
|
|
part: content_type
|
|
words:
|
|
- "application/json"
|
|
# digest: 4a0a0047304502200270fd56a09ed29edf99ab0f7d5d5959be7e81d99e71a6f8496d762fda080ce2022100be4a1fb9680261413fb499e9385bfffafa439638eb0a940ab274d48a1f53b94f:922c64590222798bb761d5b6d8e72950 |