无限星辰工作室-客户无限互联网动力之源

标题: 新安装 Discuz! x3.2 x3.3 时强化安全 [打印本页]

作者: crx349    时间: 2017-12-14 21:10
标题: 新安装 Discuz! x3.2 x3.3 时强化安全

install/index.php

搜索
  1. $authkey = substr(md5($_SERVER['SERVER_ADDR'].$_SERVER['HTTP_USER_AGENT'].$dbhost.$dbuser.$dbpw.$dbname.$username.$password.$pconnect.substr($timestamp, 0, 6)), 8, 6).random(10);

复制代码

改成
  1. $authkey = md5($_SERVER['SERVER_ADDR'].$_SERVER['HTTP_USER_AGENT'].$dbhost.$dbuser.$dbpw.$dbname.$username.$password.$pconnect.substr($timestamp, 0, 8)).random(18);
复制代码





欢迎光临 无限星辰工作室-客户无限互联网动力之源 (https://xmspace.net/) Powered by Discuz! X3.4