36 lines
787 B
YAML
36 lines
787 B
YAML
id: dockercfg-config
|
|
|
|
info:
|
|
name: Detect .dockercfg
|
|
author: geeknik
|
|
severity: high
|
|
description: Docker registry authentication data
|
|
metadata:
|
|
max-request: 2
|
|
tags: docker,exposure,config
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/.dockercfg"
|
|
- "{{BaseURL}}/.docker/config.json"
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
words:
|
|
- '"email":'
|
|
- '"auth":'
|
|
condition: and
|
|
|
|
- type: word
|
|
part: header
|
|
words:
|
|
- "text/plain"
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
# digest: 4b0a00483046022100a06a6665d65dc79f70dc58cced7bee183a073f8e2ba868a8c0bd9493ef3e5f31022100d9cd41a4a921c2306371a6541e47dd7527a8bec1c3a6f293f5a94b3082621e4b:922c64590222798bb761d5b6d8e72950
|