nuclei-templates/http/technologies/torchserve-detect.yaml

36 lines
750 B
YAML
Raw Normal View History

2024-09-17 09:11:17 +00:00
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:
2024-09-19 03:39:39 +00:00
- 'TorchServe APIs"'
- '"apiDescription"'
- 'operationId":'
2024-09-17 09:11:17 +00:00
condition: or
- type: word
part: content_type
words:
- "application/json"