nuclei-templates/exposures/configs/codeigniter-env.yaml

35 lines
828 B
YAML
Raw Normal View History

2021-04-09 21:20:35 +00:00
id: codeigniter-env
info:
name: Codeigniter .env file
author: emenalf
severity: high
2021-08-07 19:52:58 +00:00
tags: config,exposure
2021-04-09 21:20:35 +00:00
requests:
- method: GET
path:
- "{{BaseURL}}/.env"
- "{{BaseURL}}/.env.dev.local"
- "{{BaseURL}}/.env.development.local"
- "{{BaseURL}}/.env.prod.local"
- "{{BaseURL}}/.env.production.local"
- "{{BaseURL}}/.env.local"
- "{{BaseURL}}/.env.example"
- "{{BaseURL}}/.env.stage"
- "{{BaseURL}}/.env.live"
- "{{BaseURL}}/.env_1"
- "{{BaseURL}}/.env.old"
- "{{BaseURL}}/.env_sample"
2021-08-07 19:49:15 +00:00
2021-04-09 21:20:35 +00:00
matchers-condition: and
matchers:
- type: regex
regex:
2021-08-07 19:49:15 +00:00
- "(?m)^APP_(NAME|ENV|KEY|DEBUG|URL|PASSWORD)"
- "(?m)^DB_(HOST|PASSWORD|DATABASE)"
condition: or
2021-04-09 21:20:35 +00:00
- type: status
status:
2021-08-07 19:49:15 +00:00
- 200