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

38 lines
856 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.
metadata:
max-request: 1
2023-10-14 11:27:55 +00:00
tags: logs,git,exposure
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
# digest: 4b0a0048304602210098beed8c54917599777fa169566d398c0edfb844dc6d6fd3dede2bdbdcda2c50022100a6e64ee0c7e9bc2c914477d4cab58bb7ee126c0c2a54f90f5811162ffd8e90ff:922c64590222798bb761d5b6d8e72950