2020-05-24 02:44:48 +00:00
|
|
|
id: laravel-env
|
2020-05-23 18:09:25 +00:00
|
|
|
|
|
|
|
info:
|
|
|
|
name: Laravel .env file
|
2021-02-09 12:59:23 +00:00
|
|
|
author: pxmme1337 & dwisiswant0 & geeknik & emenalf
|
2020-05-24 03:04:00 +00:00
|
|
|
severity: medium
|
2020-05-23 18:09:25 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/.env"
|
2020-11-21 20:15:29 +00:00
|
|
|
- "{{BaseURL}}/.env.dev.local"
|
|
|
|
- "{{BaseURL}}/.env.development.local"
|
|
|
|
- "{{BaseURL}}/.env.prod.local"
|
|
|
|
- "{{BaseURL}}/.env.production.local"
|
2021-02-08 12:48:52 +00:00
|
|
|
- "{{BaseURL}}/.env.local"
|
|
|
|
- "{{BaseURL}}/.env.example"
|
|
|
|
- "{{BaseURL}}/.env.stage"
|
|
|
|
- "{{BaseURL}}/.env.live"
|
2020-05-24 02:44:48 +00:00
|
|
|
matchers-condition: and
|
2020-05-23 18:09:25 +00:00
|
|
|
matchers:
|
2020-07-08 20:54:41 +00:00
|
|
|
- type: regex
|
|
|
|
regex:
|
|
|
|
- "(?m)^APP_(NAME|ENV|KEY|DEBUG|URL)="
|
2020-05-24 02:44:48 +00:00
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|