|
id: rails-database-config
|
|
|
|
info:
|
|
name: Ruby-on-Rails Database Configuration Exposure
|
|
author: pd-team
|
|
severity: low
|
|
|
|
requests:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/config/database.yml"
|
|
matchers:
|
|
- type: word
|
|
words:
|
|
- "adapter:"
|
|
- "database:"
|
|
condition: and
|
|
part: body |