From b2d9833772c09162a71d91316a9c101230190c87 Mon Sep 17 00:00:00 2001
From: Ritik Chaddha <44563978+ritikchaddha@users.noreply.github.com>
Date: Tue, 10 Jan 2023 16:38:37 +0530
Subject: [PATCH] Update phpcli-stack-trace.yaml
---
misconfiguration/phpcli-stack-trace.yaml | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/misconfiguration/phpcli-stack-trace.yaml b/misconfiguration/phpcli-stack-trace.yaml
index 8e5a0b2f70..326a070931 100644
--- a/misconfiguration/phpcli-stack-trace.yaml
+++ b/misconfiguration/phpcli-stack-trace.yaml
@@ -16,11 +16,12 @@ requests:
matchers-condition: and
matchers:
- - type: word
+ - type: regex
part: body
- words:
- - 'The requested resource /{{randstr}}.php
was not found on this server'
+ regex:
+ - '/{{randstr}}.php.* this server.'
- '404 Not Found'
+ - 'Not Found
'
condition: and
- type: word