Add template for docker-compose config disclosure (#837)
parent
aefbc1db67
commit
512030fc3a
|
@ -0,0 +1,22 @@
|
|||
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"
|
||||
matchers-condition: and
|
||||
matchers:
|
||||
- type: dsl
|
||||
dsl:
|
||||
- 'regex("^version: ", body) && contains(body, "services:") == true'
|
||||
|
||||
- type: status
|
||||
status:
|
||||
- 200
|
Loading…
Reference in New Issue