Files
nuclei-templates/http/technologies/torchserve-detect.yaml
Prince Chaddha ea7a5969c8 Revert "chore: update TemplateMan 🤖"
This reverts commit c31d574176.
2025-05-27 10:39:47 +08:00

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