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

32 lines
797 B
YAML

id: docker-compose-config
info:
name: docker-compose.yml exposure
author: meme-lord,blckraven,geeknik
severity: medium
tags: config,exposure,devops
requests:
- method: GET
host-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"
- "{{BaseURL}}/docker-compose.override.yml"
stop-at-first-match: true
matchers-condition: and
matchers:
- type: dsl
dsl:
- 'regex("^version: ", body) && contains(body, "services:")'
- type: status
status:
- 200