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

36 lines
659 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
2023-08-10 10:54:19 +00:00
severity: info
2022-06-10 15:39:27 +00:00
description: Searches Git Logs files and passed URLs.
tags: logs,git,exposure
metadata:
max-request: 1
2022-06-10 15:39:27 +00:00
http:
2022-06-10 15:39:27 +00:00
- method: GET
path:
- "{{BaseURL}}/.git/logs/HEAD"
matchers-condition: and
matchers:
- type: dsl
dsl:
- "!contains(tolower(body), '<html')"
- "!contains(tolower(body), '<body')"
2022-07-14 10:13:33 +00:00
2022-06-10 15:39:27 +00:00
- type: word
part: header
words:
- "application/octet-stream"
2022-07-14 10:32:41 +00:00
- type: regex
regex:
- '^([a-z0-9]+) '
2022-06-10 15:39:27 +00:00
- type: status
status:
2022-07-14 10:13:33 +00:00
- 200