Home  >  Article  >  Backend Development  >  Solution to PHPCMS forgetting background password

Solution to PHPCMS forgetting background password

墨辰丷
墨辰丷Original
2018-05-31 09:48:102216browse

PHPCMS is a website management software. There are solutions for forgetting the PHPCMS background password. This article mainly solves the problem from a technical perspective. Please read the text carefully

What is PHPCMS?

PHPCMS is a website management software. The software adopts modular development and supports multiple classification methods. It can be used to facilitate the design, development and maintenance of personalized websites. It supports many program combinations, can easily realize website platform migration, and can widely meet the needs of websites of various sizes. It has high reliability. It is a software with articles, downloads, pictures, classified information, movies, shopping malls, collection, finance, etc. Excellent website management software that is powerful, easy to use, and scalable with many functions.

How to solve the problem of forgetting the PHPCMS background password. This article mainly solves the problem from a technical perspective. Please read the text carefully.

1. If you forget your password, you must first find an encryption method

##1.1 The PHPCMS password can only be retried 8 times. If the number of retries is exceeded, you will have to wait for 1 hour before you can continue to log in.

1.2 The encryption method is Plain text password MD5 encrypt performs MD5 again. Encrypt is randomly generated when creating a user. You can see

3 in the admin table. This will do it Generate a new password and then use

password=md5(md5(trim($password)).$r[‘encrypt'])

to modify it. Those who are interested can test it themselves.

In short, it is better to forget the password less often and make memos to reduce unnecessary trouble. Also do password protection.

The above is the entire content of this article, I hope it will be helpful to everyone's study.


Related recommendations:

php Implement curl upload, download, https login

PHP implements APP WeChat payment case analysis

ThinkPHP integrates datatables to implement server-side paging (with code)

The above is the detailed content of Solution to PHPCMS forgetting background password. 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