360 general php protection code (detailed instructions for use) _ PHP Tutorial

Source: Internet
Author: User
360 general php protection code (detailed instructions for use ). 360 the general php protection code was released. In fact, it was initially used to assist phpcms in security protection. now it seems that you can join any website with vulnerabilities to solve the phpcmsv9 problem, the solution is as follows: 360 the general php protection code was released. In fact, it was initially used to assist phpcms in security protection. now it seems that you can join any website with vulnerabilities to solve the phpcmsv9 problem, the solution is as follows, and so on for other websites!

1. Upload 360_safe3.php to the Directory of the file to be included

2. add protection to the page. you can select either of the following two methods as needed:

A) add code to the page to be protected
Require_once ('2017 _ safe3.php ');
To prevent page injection and cross-site
If you want to protect your website against website flooding attacks, you can add them to a public file on the website, such as the database link file config. inc. php!
Add require_once ('192 _ safe3.php'); to call this code

Add files to common php systems
PHPCMS V9 \ phpcms \ base. php
PHPWIND8.7 \ data \ SQL _config.php
DEDECMS5.7 \ data \ common. inc. php
DiscuzX2 \ config \ config_global.php
Wordpress \ wp-config.php
Metinfo \ include \ head. php

B) add the code at the beginning of each file.
In php. ini, find:
Automatically add files before or after any PHP document.
Auto_prepend_file = 360_safe3.php path;
-------------------------------------

The source file 360_safe3.php is as follows.Click to download

...

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.