Category: Troubleshooting

  • /

    Script to replace WordPress Core Files on a Malware Infected site

    I used this script for replacing WordPress core files on a domain that had malware. I kept selected files and folders, the rest the script, using WP-CLI, overwrote with fresh files puled from wordpress.org I kept the wp-content folder, and replaced wp-admin & wp-includes I kept these files in the root of the domain Run this bash script as root Command 1 — create the generic reusable script

    Continue reading


  • Script to replace WordPress Core Files on a Malware Infected site

    I used this script for replacing WordPress core files on a domain that had malware. I kept selected files and folders, the rest the script, using WP-CLI, overwrote with fresh files puled from wordpress.org I kept the wp-content folder, and replaced wp-admin & wp-includes I kept these files in the root of the domain Run this bash script as root Command 1 — create the generic reusable script