Bash script to clean Wordpress blog
Usage:
- Download this script with this command: wget https://raw.githubusercontent.com/saadismail/wp-clean/master/wp-clean.sh
- chmod +x wp-clean.sh
- ./wp-clean.sh $CPANEL_USERNAME
Assumptions:
- You're running this bash script under cPanel/WHM environment & user accounts are located under /home/$USERNAME/public_html
- You've paid plugins (which don't exist on wordpress public repo) under /tmp/infectwp/plugins directory
If you want to know of what this script does, then open this link