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; }