36 lines
941 B
YAML
36 lines
941 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: 490a0046304402204ef68cd4801841214bc863e9bb114a5624af5cb7bfa096a2597ac9ed2eb03d3902200cad9acf96c6aa1887fa922aa120c527f746baab9e08f172f4d3befadc6d5ddd:922c64590222798bb761d5b6d8e72950 |