Sunday 19 January 2020

Wordpress Hacked

1. Backup your database and files. Even if theyre hacked, they will probably still have virtually everything unless it was a particularly malicious hack.


2. Delete new files. See if there is a default.htm, default.html, index.html, or index.htm in the same director as where your index.php is located. The simplest hacks will add such a file which is a simple thing to remove. Unfortunately, this is probably not where it ends.

3. Explore your site. There is bound to be something new (and bad!) hidden in one of your .php files. Look at the source code on each to make sure no surprises are hidden.

4. Reinstall everything. This is the only absolutely sure way to fix the hack. Delete everything (after backing it up) and restore the website from an earlier version. Of course, it is better if you do a regular backup of your website! If youre using Wordpress, install WP Security Scan.

No comments:

Post a Comment