w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Does somebody knows what is this code Virus in PHP?

If you have SSH access to the server, and the website isn't usually modified that much, I suggest you try the following:

  1. Log in through SSH
  2. Navigate to the website directory
  3. Execute the command find . -mtime -1 -type f

This will give a list of all files which have been modified in the last day. This way you can manually check them and remove the malicious code blocks.

Should the exploit have been installed earlier, you can expand your search to go further back e.g. find . -mtime -3 -type f to go back 3 days.

Do note this is just a quick fix for a single website, chances are your server has been completely compromised, in which case you either need to do a full reinstall as already stated above, or get some professional help.

© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.