Home > Backend Development > PHP Tutorial > 安全 - PHP页面被非法注入eval(base64_decode)后怎么办

安全 - PHP页面被非法注入eval(base64_decode)后怎么办

WBOY
Release: 2016-06-06 20:13:16
Original
1662 people have browsed it

PHP页面被非法注入eval(base64_decode)后怎么办?
还有,这个问题可能是什么方式注入的,怎么防止啊

安全 - PHP页面被非法注入eval(base64_decode)后怎么办

回复内容:

PHP页面被非法注入eval(base64_decode)后怎么办?
还有,这个问题可能是什么方式注入的,怎么防止啊

安全 - PHP页面被非法注入eval(base64_decode)后怎么办

被人上传了木马改写了文件吧?

  1. 检查并修改下目录的权限

  2. 如果eval基本不用的话,在php.ini里的禁用函数列表disable_functions里增加一个eval吧,这个应该是最快的临时方案了

  3. 排查下上传功能是否有漏洞

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template