前阵子加入了百度云观测,今天突然收到一条危险短信,于是登录之发现此问题。后面发生的大家都懂的!

漏洞修复
漏洞文件:(根据报警信息,修改这些文件,并不是每个人都一样)
1、/wp-includes/registration-functions.php
2、/wp-admin/admin-functions.php
3、/wp-content/themes/yourthemes/index.php
修复方法一:在以上文件的的头部
error_reporting(0);修复方法二:找到/wp-includes/registration-functions.php文件将代码: /** * Deprecated. No longer needed. * * @package WordPress */ _deprecated_file( basename(__FILE__), ‘2.1’, null, __( ‘This file no longer needs to be included.’ ) ); 全部改成: * Deprecated. No longer needed. * * @package WordPress */ @_deprecated_file( basename(__FILE__), ’2.1′, null, __( ’This file no longer needs to be included.’ ) ); 修复方法三:进入PHP.INI禁用PHP报错。
本文链接:https://it72.com:4443/2929.htm