nuclei-templates/exposures/tokens/docker/dockercfg-config.yaml

33 lines
564 B
YAML
Raw Normal View History

id: dockercfg-config
2021-08-19 11:17:22 +00:00
info:
name: Detect .dockercfg
author: geeknik
severity: high
2021-08-19 11:18:50 +00:00
description: Docker registry authentication data
tags: docker,exposure,config
2021-08-19 11:17:22 +00:00
requests:
- method: GET
path:
- "{{BaseURL}}/.dockercfg"
2021-08-20 11:07:22 +00:00
- "{{BaseURL}}/.docker/config.json"
2021-08-19 11:17:22 +00:00
matchers-condition: and
matchers:
2021-08-19 11:18:50 +00:00
2021-08-19 11:17:22 +00:00
- type: word
words:
2021-08-19 11:18:50 +00:00
- '"email":'
- '"auth":'
2021-08-19 11:17:22 +00:00
condition: and
2021-08-19 11:18:50 +00:00
2021-08-23 14:22:39 +00:00
- type: word
part: header
words:
- "text/plain"
2021-08-19 11:17:22 +00:00
- type: status
status:
- 200