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

32 lines
654 B
YAML

id: symfony-database-config
info:
name: Symfony Database Configuration File - Detect
author: pdteam,geeknik
severity: high
description: Symfony database configuration file was detected.
tags: config,exposure,symfony
requests:
- method: GET
path:
- "{{BaseURL}}/config/databases.yml"
matchers-condition: and
matchers:
- type: word
part: header
words:
- "text/html"
negative: true
- type: status
status:
- 200
- type: word
words:
- "class:"
- "param:"
condition: and
part: body
# Enhanced by md on 2023/02/23