24 lines
378 B
YAML
24 lines
378 B
YAML
|
id: htpasswd
|
||
|
|
||
|
info:
|
||
|
name: Detect exposed .htpasswd files
|
||
|
author: geeknik
|
||
|
severity: info
|
||
|
requests:
|
||
|
- method: GET
|
||
|
path:
|
||
|
- "{{BaseURL}}/.htpasswd"
|
||
|
|
||
|
matchers-condition: and
|
||
|
matchers:
|
||
|
- type: word
|
||
|
words:
|
||
|
- ":{SHA}"
|
||
|
- ":$apr1$"
|
||
|
- ":$2y$"
|
||
|
condition: or
|
||
|
|
||
|
- type: status
|
||
|
status:
|
||
|
- 200
|