Restoring an Exploited WordPress files

wordpress-hackedI previously had a 10 step process to replace all the files in a wordpress, this got rid of most file based exploits.

Since then i have written a shell script that pretty much incorperates that

chmod +x
./ /full/path/to/documentroot

Note: This does not do custom themes or plugins (only ones from, and its a good idea to double check the wp-config.php is clean, either before, or immediately after doing this.

Please let me know if you have any issues at all with this script, or modifications needing to be made.

This entry was posted in Featured, HOWTO and tagged , , , , . Bookmark the permalink.

One Response to Restoring an Exploited WordPress files

  1. Pingback: Keeping WordPress secure | RimuHosting Blog