Skip to content

Commit

Permalink
fix(web/rce): 合并参数检查,消除警告信息 (#8)
Browse files Browse the repository at this point in the history
* feat(web/rce): 添加题目文件

* ci(web/rce): 添加工作流

* fix(web/rce): 增加参数检查以避免警告

* fix(web/rce): 合并参数检查,消除警告信息
  • Loading branch information
13m0n4de authored Sep 5, 2024
1 parent 1a6f233 commit 887c383
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions challenges/web/rce/build/html/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

highlight_file(__FILE__);

$rce = $_GET['rce'];
if (isset($rce)) {
eval($rce);
if (isset($_GET['rce'])) {
eval($_GET['rce']);
}

0 comments on commit 887c383

Please sign in to comment.