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.