Home  >  Article  >  CMS Tutorial  >  How to remove dedecms

How to remove dedecms

藏色散人
藏色散人Original
2019-07-22 10:56:393827browse

How to remove dedecms

How to remove dedecms

The solution is very simple, if power by dedecms, or power appears in your web page by xxx. Just look for dedesql.class.php in the include/ directory. Then open.

Then check the code (it is best to use an editor like Dreamweaver, which will display the page number).

How to remove dedecms

In the include/dedesql.class.php file, there will be a few extra pieces of code from lines 588 to 592 (you can also copy the following short piece of code to search), The code is roughly as follows:

$arrs1 = array(0x63,0x66,0x67,0x5f,0x70,0x6f,0x77,0x65,0x72,0x62,0x79);
 $arrs2 = array(0x20,0x3c,0x61,0x20,0x68,0x72,0x65,0x66,0x3d,0x68,0x74,0x74,0x70,0x3a,0x2f,0x2f,
 0x77,0x77,0x77,0x2e,0x64,0x65,0x64,0x65,0x63,0x6d,0x73,0x2e,0x63,0x6f,0x6d,0x20,0x74,0x61,0x72,
 0x67,0x65,0x74,0x3d,0x27,0x5f,0x62,0x6c,0x61,0x6e,0x6b,0x27,0x3e,0x50,0x6f,0x77,0x65,0x72,0x20,
 0x62,0x79,0x20,0x44,0x65,0x64,0x65,0x43,0x6d,0x73,0x3c,0x2f,0x61,0x3e);

Then, it is simple. Delete or comment out this code directly, save the upload overlay, and then update the web page.

For more dedecms technical articles, please visit the dedecms usage tutorial column!

The above is the detailed content of How to remove dedecms. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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
Previous article:What is dedecms modelNext article:What is dedecms model