What should I do if my website is hacked?

Source: Internet
Author: User
Tags website ip
What should I do if my website is hacked? For example, the home page cannot be opened, and other webpages can be opened. some illegal links have been injected into the webpage, and the webpage cannot be opened now.


Reply to discussion (solution)

It should have tampered with the home page and checked the server.

Are there some simple ideas or methods to prevent website hacking (php background )?

Check whether there are some strange php files in your website directory.

Find and filter all passed parameters, and then find the vulnerability
Of course, the first thing is to ensure that the server has no obvious vulnerabilities.

Do not assign high permissions. you can run 755 instead of 777.

------------------------------------------------------ AutoCSDN signature file ------------------------------------------------------

Code Farm ?? A farm where coders sow codes and graze ideas!

Fix server vulnerabilities

Can you send me your website ip address.

Generally, the website must be backed up regularly to facilitate recovery.

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.