Create dockercfg.yaml

patch-1
Prince Chaddha 2021-08-19 16:47:22 +05:30 committed by GitHub
parent d7e7c39982
commit 2e4c8e22f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,29 @@
id: dockercfg
info:
name: Detect .dockercfg
author: geeknik
description: Docker registry authentication data
severity: high
tags: docker,auth
requests:
- method: GET
path:
- "{{BaseURL}}/.dockercfg"
matchers-condition: and
matchers:
- type: word
part: header
words:
- "text/plain"
- type: word
words:
- "https"
- "email"
- "auth"
condition: and
- type: status
status:
- 200