Dedecms "Input content has dangerous characters, security, has been intercepted by the site" solution
Source: Internet
Author: User
KeywordsDEDECMS site intercept dangerous characters
Wind Network (ithov.com) original article: In view of DEDECMS official patch update is slow, but now many sites are using DEDECMS Build station system to build their own site, but there are a lot of dede sites because of security problems by hackers left a trojan, or backdoor procedures, This is the Internet is very dangerous, hackers can use the site for traffic hijacking, hanging Trojan, do fishing and so on.
I recommend that you install 360 launch of the Web site security detection tools to repair DEDECMS site security vulnerabilities, quickly killing the site's Trojan Horse and back door.
After installing the DEDECMS detection program, the screenshot below:
Today, when testing the DEDECMS program, found dedecms prompt "Input content exists dangerous characters, security, has been intercepted by the site"
Find the relevant files, found in the 360safe folder webscan_cache.php need to do the relevant settings, the source code content is as follows:
<?php User Unique Key Define (' Webscan_u_key ', ' a8842ae386cfdce9893aaa441e66431d '); Data callback statistic Address Define (' Webscan_api_log ', ' http://safe.webscan.360.cn/papi/log/?key= '). Webscan_u_key); Version update address Define (' Webscan_update_file ', ' http://safe.webscan.360.cn/papi/update/?key= '). Webscan_u_key); Intercept switch (1 for open, 0 off) $webscan _switch=1; Submit the way to intercept (1 open intercept, 0 close intercept, Post,get,cookie,referre Select the way to intercept) $webscan _post=1; $webscan _get=1; $webscan _cookie=1; $webscan _referre=1; Background white list, background operation will not intercept, add "|" Separate whitelist list below default is URL with admin/dede/release $webscan _white_directory= ' admin|\/zpyt48qpm8\/'; URL white list, you can customize the Add URL whitelist, default is the Phpcms background URL release Writing: such as phpcms background operation URL index.php?m=admin php168 article submit link post.php?job=postnew&step=post, Dedecms space Settings Edit_space_ info.php $webscan _white_url = Array (' index.php ' => ' m=admin ', ' post.php ' => ' job=postnew&step=post ', ' Edit_space_ ') info.php ' => '); ?>
Note: We need to modify 16 lines of code:
$webscan _white_directory= ' admin|\/dede\/dede Modify the background address directory of your site
Save the file, upload and overwrite the original file can be used normally.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.