Create git-logs-exposure-detect.yaml

patch-1
Arman 2022-11-08 11:09:03 -05:00 committed by GitHub
parent 4bcdebb7e8
commit 0b139469a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,30 @@
id: git-logs-exposure-detect
info:
name: Git logs Exposure
author: tess
severity: high
metadata:
verified: true
tags: logs,detect,git,exposed
requests:
- method: GET
path:
- "{{BaseURL}}/.git/"
stop-at-first-match: true
host-redirects: true
max-redirects: 3
matchers-condition: and
matchers:
- type: word
part: body
words:
- "403 Forbidden"
- "You do not have permission to access /.git/"
condition: and
- type: status
status:
- 403