nuclei-templates/exposures/configs/rails-database-config.yaml

26 lines
493 B
YAML
Raw Normal View History

id: rails-database-config
info:
name: Ruby-on-Rails Database Configuration Exposure
author: pdteam & geeknik
severity: low
2021-04-06 06:46:11 +00:00
tags: config,exposure
requests:
- method: GET
path:
- "{{BaseURL}}/config/database.yml"
matchers-condition: and
matchers:
- type: word
part: header
words:
- "application/octet-stream"
- type: word
words:
- "adapter:"
- "database:"
condition: and
part: body