2021-03-02 11:32:14 +00:00
|
|
|
id: exposed-hg
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Exposed HG Directory
|
|
|
|
author: daffainfo
|
2021-03-02 16:07:41 +00:00
|
|
|
severity: low
|
2021-04-06 06:46:11 +00:00
|
|
|
tags: config,exposure
|
2021-03-02 11:32:14 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/.hg/hgrc"
|
2021-03-02 16:07:41 +00:00
|
|
|
|
2021-03-07 07:51:23 +00:00
|
|
|
matchers-condition: and
|
2021-03-02 11:32:14 +00:00
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- "[paths]"
|
|
|
|
- "default"
|
|
|
|
condition: and
|
2021-03-02 16:07:41 +00:00
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
2021-03-07 07:51:23 +00:00
|
|
|
- 200
|