crx349 发表于 2017-12-14 21:10:48

新安装 Discuz! x3.2 x3.3 时强化安全


install/index.php

搜索
$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);


改成
$authkey = md5($_SERVER['SERVER_ADDR'].$_SERVER['HTTP_USER_AGENT'].$dbhost.$dbuser.$dbpw.$dbname.$username.$password.$pconnect.substr($timestamp, 0, 8)).random(18);
页: [1]
查看完整版本: 新安装 Discuz! x3.2 x3.3 时强化安全