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 06:11:30 +00:00
|
|
|
# digest: 490a0046304402204ef68cd4801841214bc863e9bb114a5624af5cb7bfa096a2597ac9ed2eb03d3902200cad9acf96c6aa1887fa922aa120c527f746baab9e08f172f4d3befadc6d5ddd:922c64590222798bb761d5b6d8e72950
|