🔨 Fix false-positives laravel-env

patch-1
dw1 2020-07-09 03:54:41 +07:00
parent af4ba60694
commit a4f05086d0
1 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@ id: laravel-env
info: info:
name: Laravel .env file name: Laravel .env file
author: pxmme1337 author: pxmme1337 & dwisiswant0
severity: medium severity: medium
requests: requests:
@ -11,9 +11,9 @@ requests:
- "{{BaseURL}}/.env" - "{{BaseURL}}/.env"
matchers-condition: and matchers-condition: and
matchers: matchers:
- type: word - type: regex
words: regex:
- "APP_NAME" - "(?m)^APP_(NAME|ENV|KEY|DEBUG|URL)="
- type: status - type: status
status: status:
- 200 - 200