nuclei-templates/panels/swagger-panel.yaml

24 lines
544 B
YAML

id: swagger-panel
info:
name: Swagger API Panel
author: Ice3man
severity: informative
requests:
- method: GET
path:
- "{{BaseURL}}/swagger/index.html"
- "{{BaseURL}}/swagger-ui.html"
- "{{BaseURL}}/swagger/swagger-ui.html"
- "{{BaseURL}}/api/swagger-ui.html"
- "{{BaseURL}}/api-docs/swagger.json"
- "{{BaseURL}}/swagger.json"
- "{{BaseURL}}/swagger/v1/swagger.json"
matchers:
- type: word
words:
- "\"swagger\":"
- "Swagger UI"
condition: or