nuclei-templates/http/exposures/files/database-credentials.yaml

32 lines
651 B
YAML

id: database-credentials
info:
name: Database Credentials File Exposure
author: Hardik-Solanki
severity: low
reference:
- https://github.com/maurosoria/dirsearch/blob/master/db/dicc.txt
metadata:
max-request: 1
verified: true
github-query: filename:database_credentials.inc
tags: exposure,database,config,files
http:
- method: GET
path:
- "{{BaseURL}}/database_credentials.inc"
matchers-condition: and
matchers:
- type: word
part: body
words:
- '$DATABASE_USER'
- '$DATABASE_PASS'
condition: and
- type: status
status:
- 200