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

37 lines
944 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"
2024-09-19 04:05:06 +00:00
# digest: 4a0a004730450221009f1cf45a7be1093b913e586758c9e4e09fa77745bd51efbdffb873ea2f3bda280220471bf198a1cea22de16ebda6f833f056b409174cd164654109f8fa244a76a35b:922c64590222798bb761d5b6d8e72950