nuclei-templates/panels/swagger-panel.yaml

54 lines
1.6 KiB
YAML

id: swagger-panel
info:
name: Swagger API Panel
author: Ice3man
severity: info
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"
- "{{BaseURL}}/api/index.html"
- "{{BaseURL}}/api/docs/"
- "{{BaseURL}}/api/swagger.json"
- "{{BaseURL}}/api/swagger.yaml"
- "{{BaseURL}}/api/swagger.yml"
- "{{BaseURL}}/api/swagger/index.html"
- "{{BaseURL}}/api/swagger/swagger-ui.html"
- "{{BaseURL}}/api/api-docs/swagger.json"
- "{{BaseURL}}/api/swagger-ui/swagger.json"
- "{{BaseURL}}/api/apidocs/swagger.json"
- "{{BaseURL}}/api/swagger-ui/api-docs"
- "{{BaseURL}}/api/api-docs"
- "{{BaseURL}}/api/apidocs"
- "{{BaseURL}}/api/swagger"
- "{{BaseURL}}/api/swagger/static/index.html"
- "{{BaseURL}}/api/swagger-resources"
- "{{BaseURL}}/api/swagger-resources/restservices/v2/api-docs"
- "{{BaseURL}}/api/__swagger__/"
- "{{BaseURL}}/api/_swagger_/"
- "{{BaseURL}}/api/spec/swagger.json"
- "{{BaseURL}}/api/swagger/ui/index"
- "{{BaseURL}}/__swagger__/"
- "{{BaseURL}}/_swagger_/"
- "{{BaseURL}}/swagger-resources/restservices/v2/api-docs"
matchers-condition: and
matchers:
- type: word
words:
- "\"swagger\":"
- "Swagger UI"
condition: or
- type: status
status:
- 200