How to clean and upgrade an old, hacked installation
-
I’m running a WP site that has been hacked and where all PHP-files contain base64-encrypted code. It’s a very old version (2.9.2) and has some modified code, and I don’t think automatic upgrading worked last time I tried.
I would like to make sure all infected files are gone, and then do a fresh install of the latest version, recreate the theme, and preferably keep all published content. How is it recommended that I do this?
I’m not sure if the databases are compatible between 2.9.2 and 3.5.2, or if the infection could have put something in the database that I need to clean first. Would it be convenient to install the new version next to the old one first, or would there be a risk of the virus spreading then?
- The topic ‘How to clean and upgrade an old, hacked installation’ is closed to new replies.