nuclei-templates/exposures/configs/git-credentials-disclosure....

28 lines
695 B
YAML
Raw Normal View History

2021-07-21 05:49:35 +00:00
id: git-credentials-disclosure
info:
name: Git Credentials Disclosure
author: dhiyaneshDk
severity: medium
reference: https://github.com/detectify/ugly-duckling/blob/master/modules/crowdsourced/git-credentials-disclosure.json
tags: exposure,config
requests:
- method: GET
path:
- "{{BaseURL}}/.git-credentials"
2021-07-21 05:49:35 +00:00
matchers-condition: and
matchers:
- type: regex
regex:
- "https?://[\\d\\w\\{\\}\\.%]+(?:|@)[\\d\\w\\{\\}\\.]+:[\\d\\w\\{\\}\\.]+(?:|@)[\\d\\w\\{\\}\\.\\?!~#@]+"
part: body
- type: word
words:
- "Content-Type: text/html"
part: header
- type: status
status:
- 200