From ac4af518914d43f07c4d5f7556241b6e3fdedeaa Mon Sep 17 00:00:00 2001 From: 13m0n4de <136407746+13m0n4de@users.noreply.github.com> Date: Fri, 6 Sep 2024 01:38:14 +0800 Subject: [PATCH] =?UTF-8?q?fix(web/ez-rce):=20=E6=B6=88=E9=99=A4=E8=AD=A6?= =?UTF-8?q?=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat(web/ez-rce): 添加构建文件和题目信息 * ci(web/ez-rce): 添加工作流 * fix(web/ez-rce): 消除警告 --- challenges/web/ez_rce/build/html/index.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/challenges/web/ez_rce/build/html/index.php b/challenges/web/ez_rce/build/html/index.php index f5ef287..2b6625d 100644 --- a/challenges/web/ez_rce/build/html/index.php +++ b/challenges/web/ez_rce/build/html/index.php @@ -2,8 +2,8 @@ highlight_file(__FILE__); -$rce = $_GET['rce']; -if (preg_match("/flag|\\s/im", $rce)) { +if (preg_match("/flag|\\s/im", $_GET['rce'])) { die("hacker!"); } -eval($rce); + +eval($_GET['rce']);