Merge pull request #4571 from nullfuzz-pentest/git-logs-exposure

Added git-logs-exposure Template
patch-1
Prince Chaddha 2022-07-15 16:30:24 +05:30 committed by GitHub
commit 1d19b2c0d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,33 @@
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"
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