Metro Detroit WordPress Meetup
Sample Scripts
These scripts were used to unhack multiple sites on a cPanel server. These scripts also require you to have root access to your server.
fix-get-cpanel-users.sh
: will create a list of all cPanel users on server. Feel free to edit the list after the results are in.
fix-single-site.sh
: will update the cPanel password, wordpress database and hacked user passwords, and finally will update core, plugins and themes.
fix-multiple-sites.sh
: will loop through our list of cPanel users and run fix-single-site.sh
on each.