nuclei-templates/http/exposures/logs/git-logs-exposure.yaml

36 lines
659 B
YAML

id: git-logs-exposure
info:
name: Git Logs Disclosure
author: NullFuzz
severity: Info
description: Searches Git Logs files and passed URLs.
tags: logs,git,exposure
metadata:
max-request: 1
http:
- method: GET
path:
- "{{BaseURL}}/.git/logs/HEAD"
matchers-condition: and
matchers:
- type: dsl
dsl:
- "!contains(tolower(body), '<html')"
- "!contains(tolower(body), '<body')"
- type: word
part: header
words:
- "application/octet-stream"
- type: regex
regex:
- '^([a-z0-9]+) '
- type: status
status:
- 200