From 9b38ab09911637343057b697526878b470a320eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cwanyongkang=E2=80=9D?= <“937888580@qq.com”> Date: Thu, 20 Aug 2026 14:36:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8F=90=E4=BA=A4=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E8=BF=87=E6=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fastphp/Fastphp.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/fastphp/Fastphp.php b/fastphp/Fastphp.php index 7a24020..17b741b 100644 --- a/fastphp/Fastphp.php +++ b/fastphp/Fastphp.php @@ -69,7 +69,10 @@ class Fastphp //处理提交过来的参数 - $get_data = json_encode($_GET).json_encode($_POST); + if (isset($_GET['s'])) { + unset($_GET['s']); + } + $get_data = json_encode($_GET).json_encode($_POST).file_get_contents("php://input"); if ((stripos($get_data, 'substring') !== false)||(stripos($get_data, 'TO_BASE64') !== false)||(stripos($get_data, 'insert') !== false)||(stripos($get_data, 'update') !== false)||(stripos($get_data, 'delete') !== false)||(stripos($get_data, 'select') !== false)||(stripos($get_data, 'alert') !== false)||(stripos($get_data, 'UNION') !== false)||(stripos($get_data, 'OUTFILE') !== false)) { die; }