Create git-logs-exposure-detect.yaml
parent
4bcdebb7e8
commit
0b139469a5
|
@ -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
|
Loading…
Reference in New Issue