Merge pull request #6 from HardikSolanki96/database-credentials
Create database-credentials.yamlpatch-1
commit
9902c4d33a
|
@ -0,0 +1,30 @@
|
|||
id: database-credentials
|
||||
|
||||
info:
|
||||
name: Database Credentials File Exposure
|
||||
author: Hardik-Solanki
|
||||
severity: high
|
||||
metadata:
|
||||
verified: true
|
||||
github-query: filename:database_credentials.inc
|
||||
reference:
|
||||
- https://github.com/maurosoria/dirsearch/blob/master/db/dicc.txt
|
||||
tags: exposure,database,config,files
|
||||
|
||||
requests:
|
||||
- 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
|
Loading…
Reference in New Issue