32 lines
651 B
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:
|
|
verified: true
|
|
max-request: 1
|
|
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
|