diff --git a/ErrorFiles/400.html b/ErrorFiles/400.html new file mode 100644 index 0000000..bc32e15 --- /dev/null +++ b/ErrorFiles/400.html @@ -0,0 +1,17 @@ + + + + +400状态页面 + + + +
+ +

+

{错误请求} 服务器不能接受此应答!

+
+ + diff --git a/ErrorFiles/401.html b/ErrorFiles/401.html new file mode 100644 index 0000000..c417dd3 --- /dev/null +++ b/ErrorFiles/401.html @@ -0,0 +1,17 @@ + + + + +401状态页面 + + + +
+ +

+

{未授权} 请求需要身份验证!

+
+ + \ No newline at end of file diff --git a/ErrorFiles/403.html b/ErrorFiles/403.html new file mode 100644 index 0000000..7b7c2da --- /dev/null +++ b/ErrorFiles/403.html @@ -0,0 +1,17 @@ + + + + +403状态页面 + + + +
+ +

+

{禁止} 服务器拒绝请求!

+
+ + \ No newline at end of file diff --git a/ErrorFiles/404.html b/ErrorFiles/404.html new file mode 100644 index 0000000..6138730 --- /dev/null +++ b/ErrorFiles/404.html @@ -0,0 +1,17 @@ + + + + +404状态页面 + + + +
+ +

+

{未找到} 法海不懂爱~页面不出来!

+
+ + \ No newline at end of file diff --git a/ErrorFiles/429.html b/ErrorFiles/429.html new file mode 100644 index 0000000..62237f2 --- /dev/null +++ b/ErrorFiles/429.html @@ -0,0 +1,17 @@ + + + + +UPUPW安全防护智能感知系统 + + + +
+

+

UPUPW服务器安全防护智能感知系统

+

☸ 您与页面的距离相差60秒...... 如等不到可能已被黑洞吞噬 ☸

+
+ + \ No newline at end of file diff --git a/ErrorFiles/500.html b/ErrorFiles/500.html new file mode 100644 index 0000000..d08a7f2 --- /dev/null +++ b/ErrorFiles/500.html @@ -0,0 +1,17 @@ + + + + +500状态页面 + + + +
+ +

+

{服务器遇到错误} 无法完成请求!

+
+ + \ No newline at end of file diff --git a/ErrorFiles/502.html b/ErrorFiles/502.html new file mode 100644 index 0000000..56f8fcf --- /dev/null +++ b/ErrorFiles/502.html @@ -0,0 +1,17 @@ + + + + +502状态页面 + + + +
+ +

+

{无效响应} 网关或代理有误!

+
+ + \ No newline at end of file diff --git a/ErrorFiles/503.html b/ErrorFiles/503.html new file mode 100644 index 0000000..c19d10d --- /dev/null +++ b/ErrorFiles/503.html @@ -0,0 +1,17 @@ + + + + +503状态页面 + + + +
+ +

+

{服务不可用} 服务器过载或暂停!

+
+ + \ No newline at end of file diff --git a/ErrorFiles/504.html b/ErrorFiles/504.html new file mode 100644 index 0000000..b8655a3 --- /dev/null +++ b/ErrorFiles/504.html @@ -0,0 +1,17 @@ + + + + +504状态页面 + + + +
+ +

+

{网关超时} 超时或解析器有误!

+
+ + \ No newline at end of file diff --git a/ErrorFiles/510.html b/ErrorFiles/510.html new file mode 100644 index 0000000..28c8940 --- /dev/null +++ b/ErrorFiles/510.html @@ -0,0 +1,17 @@ + + + + +510状态页面 + + + +
+ +

+

{资源超限} 访问或下载资源超过限制!

+
+ + \ No newline at end of file diff --git a/index.php b/index.php index 836ae26..8f23f6c 100644 --- a/index.php +++ b/index.php @@ -1,6 +1,7 @@ + + + +400状态页面 + + + +
+ +

+

{错误请求} 服务器不能接受此应答!

+
+ + diff --git a/show/ErrorFiles/401.html b/show/ErrorFiles/401.html new file mode 100644 index 0000000..c417dd3 --- /dev/null +++ b/show/ErrorFiles/401.html @@ -0,0 +1,17 @@ + + + + +401状态页面 + + + +
+ +

+

{未授权} 请求需要身份验证!

+
+ + \ No newline at end of file diff --git a/show/ErrorFiles/403.html b/show/ErrorFiles/403.html new file mode 100644 index 0000000..7b7c2da --- /dev/null +++ b/show/ErrorFiles/403.html @@ -0,0 +1,17 @@ + + + + +403状态页面 + + + +
+ +

+

{禁止} 服务器拒绝请求!

+
+ + \ No newline at end of file diff --git a/show/ErrorFiles/404.html b/show/ErrorFiles/404.html new file mode 100644 index 0000000..6138730 --- /dev/null +++ b/show/ErrorFiles/404.html @@ -0,0 +1,17 @@ + + + + +404状态页面 + + + +
+ +

+

{未找到} 法海不懂爱~页面不出来!

+
+ + \ No newline at end of file diff --git a/show/ErrorFiles/429.html b/show/ErrorFiles/429.html new file mode 100644 index 0000000..62237f2 --- /dev/null +++ b/show/ErrorFiles/429.html @@ -0,0 +1,17 @@ + + + + +UPUPW安全防护智能感知系统 + + + +
+

+

UPUPW服务器安全防护智能感知系统

+

☸ 您与页面的距离相差60秒...... 如等不到可能已被黑洞吞噬 ☸

+
+ + \ No newline at end of file diff --git a/show/ErrorFiles/500.html b/show/ErrorFiles/500.html new file mode 100644 index 0000000..d08a7f2 --- /dev/null +++ b/show/ErrorFiles/500.html @@ -0,0 +1,17 @@ + + + + +500状态页面 + + + +
+ +

+

{服务器遇到错误} 无法完成请求!

+
+ + \ No newline at end of file diff --git a/show/ErrorFiles/502.html b/show/ErrorFiles/502.html new file mode 100644 index 0000000..56f8fcf --- /dev/null +++ b/show/ErrorFiles/502.html @@ -0,0 +1,17 @@ + + + + +502状态页面 + + + +
+ +

+

{无效响应} 网关或代理有误!

+
+ + \ No newline at end of file diff --git a/show/ErrorFiles/503.html b/show/ErrorFiles/503.html new file mode 100644 index 0000000..c19d10d --- /dev/null +++ b/show/ErrorFiles/503.html @@ -0,0 +1,17 @@ + + + + +503状态页面 + + + +
+ +

+

{服务不可用} 服务器过载或暂停!

+
+ + \ No newline at end of file diff --git a/show/ErrorFiles/504.html b/show/ErrorFiles/504.html new file mode 100644 index 0000000..b8655a3 --- /dev/null +++ b/show/ErrorFiles/504.html @@ -0,0 +1,17 @@ + + + + +504状态页面 + + + +
+ +

+

{网关超时} 超时或解析器有误!

+
+ + \ No newline at end of file diff --git a/show/ErrorFiles/510.html b/show/ErrorFiles/510.html new file mode 100644 index 0000000..28c8940 --- /dev/null +++ b/show/ErrorFiles/510.html @@ -0,0 +1,17 @@ + + + + +510状态页面 + + + +
+ +

+

{资源超限} 访问或下载资源超过限制!

+
+ + \ No newline at end of file diff --git a/show/api_pos.php b/show/api_pos.php index 19ff2c0..cb46245 100644 --- a/show/api_pos.php +++ b/show/api_pos.php @@ -1,8 +1,10 @@ get_one("select * from tb_pos_device where serialno = '".addslashes($serialno)."'"); $device_id = intval($deviceInfo['id']); -// 获取远程地址 +// 获取远程地址,即访问的客户端ip地址 $ip = $_SERVER["REMOTE_ADDR"]; $s1 = $json; @@ -208,6 +210,7 @@ if($qs == 'heartbeat' || $qs == 'addperson' || $qs == 'delperson') { //心跳 } } + // 增加列表 if($addList) { $whitelist = array(); foreach($addList as $item) { @@ -332,6 +335,7 @@ if($qs == 'heartbeat' || $qs == 'addperson' || $qs == 'delperson') { //心跳 } +// 在线消费,无消费确认,无查询,直接消费 else if($qs == 'real') { $api = $post['api']; if($api == 'takemeal' || $api == 'takemealok') { //取餐 diff --git a/show/u.php b/show/u.php new file mode 100644 index 0000000..df6018c --- /dev/null +++ b/show/u.php @@ -0,0 +1,290 @@ +已开启'); +define('NO', '未开启'); +if ($_POST['mysqlPort']=="") { +$host = "127.0.0.1"; +} else { +$host = "127.0.0.1:".$_POST['mysqlPort']; +} +if ($_POST['mysqlUser']=="") { +$link = ""; +} else { +$link = @mysqli_connect($host, $_POST['mysqlUser'], $_POST['mysqlPassword']); +} +$Info = array(); +$Info['php_ini_file'] = function_exists('php_ini_loaded_file') ? php_ini_loaded_file() : '[undefine]'; +$mcrypt = get_extension_funcs('mcrypt') ? YES : NO; +$xmlrpc = get_extension_funcs('xmlrpc') ? YES : NO; +$fileinfo = get_extension_funcs('fileinfo') ? YES : NO; +$ftp = get_extension_funcs('ftp') ? YES : NO; +$errno = mysqli_connect_errno(); +$pinfo = $rand; +$up_start = micro_time_float(); +if (_GET($pinfo) == 'phpinfo') { +if (function_exists('phpinfo')) phpinfo(); +else echo "PHPINFO函数已被禁用无法正常显示详细信息!"; +exit; +} +?> + + + + +UPUPW PHP探针安全版 + + + + + + + + +
{ UPUPW PHP 探针 }
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Mcrypt加密处理组件"; +}else{ + echo ""; +}?> + + + + +XML-RPC组件"; +}else{ + echo ""; +}?> + + + + + + + +
服务器信息PHP功能组件开启状态
服务器域名MySQLi Client组件
服务器端口 + +数据库连接测试错误拒绝显示"?> +数据库连接测试成功后显示"; +?> +cURL组件
服务器环境GD library组件
PHP运行环境EXIF信息查看组件
PHP配置文件 +数据库连接测试错误拒绝显示"?> +数据库连接测试成功后显示"; +?> +OpenSSL协议组件
当前网站目录 +数据库连接测试错误拒绝显示"?> +数据库连接测试成功后显示"; +?> +".$mcrypt."FTP组件".$ftp."
服务器标准时 + +".$xmlrpc."FileInfo组件".$fileinfo."
便捷管理入口 +PHPINFO详细信息":"数据库连接测试错误拒绝显示"?> +数据库连接测试成功后显示"; +?> +Mbstring组件
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
PHP Zend解密组件PHP 缓存优化组件
Zend OptimizerZend GuardLoaderionCubeLoaderSourceGuardianWinCacheZend OPcacheRedisMemcache
不完全包括以上组件,不同PHP版本能适配的外部扩展不同,为了性能以上组件除网站特别要求外没必要全开启!
+ + + + + + + + + + + + + + + + + + + + +
PHP重要参数检测
Memory限制Upload限制POST限制Execution超时Input超时Socket超时
+ + + + + + + +
PHP已编译模块检测
+$value) { +if ($key!=0 && $key%13==0) { +echo '
'; +} +echo "$value    "; +} +?> +
+
+ + + + + + + + + + + + + + + + + + + + + + +
数据库连接测试
请及时登录phpMyAdmin修改数据库默认用户名和密码
数据库服务器数据库端口
数据库用户名数据库用户密码
+
+ + + + + +连接正常 ('.mysqli_get_server_info($link).')'; +else $str1 = '连接错误
'.iconv('gbk', 'utf-8', mysqli_connect_error()); +?> + + + + +
数据库测试结果
+ +

+UPUPW探针版本:   页面执行时间 秒   消耗内存 +

+
+

© UPUPW PHP探针安全版,站点内容与本程序无关。

+
+ + diff --git a/u.php b/u.php new file mode 100644 index 0000000..df6018c --- /dev/null +++ b/u.php @@ -0,0 +1,290 @@ +已开启'); +define('NO', '未开启'); +if ($_POST['mysqlPort']=="") { +$host = "127.0.0.1"; +} else { +$host = "127.0.0.1:".$_POST['mysqlPort']; +} +if ($_POST['mysqlUser']=="") { +$link = ""; +} else { +$link = @mysqli_connect($host, $_POST['mysqlUser'], $_POST['mysqlPassword']); +} +$Info = array(); +$Info['php_ini_file'] = function_exists('php_ini_loaded_file') ? php_ini_loaded_file() : '[undefine]'; +$mcrypt = get_extension_funcs('mcrypt') ? YES : NO; +$xmlrpc = get_extension_funcs('xmlrpc') ? YES : NO; +$fileinfo = get_extension_funcs('fileinfo') ? YES : NO; +$ftp = get_extension_funcs('ftp') ? YES : NO; +$errno = mysqli_connect_errno(); +$pinfo = $rand; +$up_start = micro_time_float(); +if (_GET($pinfo) == 'phpinfo') { +if (function_exists('phpinfo')) phpinfo(); +else echo "PHPINFO函数已被禁用无法正常显示详细信息!"; +exit; +} +?> + + + + +UPUPW PHP探针安全版 + + + + + + + + +
{ UPUPW PHP 探针 }
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Mcrypt加密处理组件"; +}else{ + echo ""; +}?> + + + + +XML-RPC组件"; +}else{ + echo ""; +}?> + + + + + + + +
服务器信息PHP功能组件开启状态
服务器域名MySQLi Client组件
服务器端口 + +数据库连接测试错误拒绝显示"?> +数据库连接测试成功后显示"; +?> +cURL组件
服务器环境GD library组件
PHP运行环境EXIF信息查看组件
PHP配置文件 +数据库连接测试错误拒绝显示"?> +数据库连接测试成功后显示"; +?> +OpenSSL协议组件
当前网站目录 +数据库连接测试错误拒绝显示"?> +数据库连接测试成功后显示"; +?> +".$mcrypt."FTP组件".$ftp."
服务器标准时 + +".$xmlrpc."FileInfo组件".$fileinfo."
便捷管理入口 +PHPINFO详细信息":"数据库连接测试错误拒绝显示"?> +数据库连接测试成功后显示"; +?> +Mbstring组件
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
PHP Zend解密组件PHP 缓存优化组件
Zend OptimizerZend GuardLoaderionCubeLoaderSourceGuardianWinCacheZend OPcacheRedisMemcache
不完全包括以上组件,不同PHP版本能适配的外部扩展不同,为了性能以上组件除网站特别要求外没必要全开启!
+ + + + + + + + + + + + + + + + + + + + +
PHP重要参数检测
Memory限制Upload限制POST限制Execution超时Input超时Socket超时
+ + + + + + + +
PHP已编译模块检测
+$value) { +if ($key!=0 && $key%13==0) { +echo '
'; +} +echo "$value    "; +} +?> +
+
+ + + + + + + + + + + + + + + + + + + + + + +
数据库连接测试
请及时登录phpMyAdmin修改数据库默认用户名和密码
数据库服务器数据库端口
数据库用户名数据库用户密码
+
+ + + + + +连接正常 ('.mysqli_get_server_info($link).')'; +else $str1 = '连接错误
'.iconv('gbk', 'utf-8', mysqli_connect_error()); +?> + + + + +
数据库测试结果
+ +

+UPUPW探针版本:   页面执行时间 秒   消耗内存 +

+
+

© UPUPW PHP探针安全版,站点内容与本程序无关。

+
+ +