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

30 lines
626 B
YAML
Raw Normal View History

2022-06-10 15:39:27 +00:00
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
requests:
- method: GET
path:
- "{{BaseURL}}/.git/logs/HEAD"
- "{{BaseURL}}/.git/logs/refs"
matchers-condition: and
matchers:
- type: dsl
dsl:
- "!contains(tolower(body), '<html')"
- "!contains(tolower(body), '<body')"
- type: word
part: header
words:
- "application/octet-stream"
condition: and
- type: status
status:
- 200