nuclei-templates/exposures/configs/docker-compose-config.yml

28 lines
682 B
YAML
Raw Normal View History

id: docker-compose-config
info:
name: docker-compose.yml exposure
author: meme-lord & blckraven
severity: medium
requests:
- method: GET
redirects: true
max-redirects: 3
path:
- "{{BaseURL}}/docker-compose.yml"
- "{{BaseURL}}/docker-compose.prod.yml"
- "{{BaseURL}}/docker-compose.production.yml"
- "{{BaseURL}}/docker-compose.staging.yml"
- "{{BaseURL}}/docker-compose.dev.yml"
- "{{BaseURL}}/docker-compose-dev.yml"
matchers-condition: and
matchers:
- type: dsl
dsl:
- 'regex("^version: ", body) && contains(body, "services:") == true'
- type: status
status:
- 200