/wp-clean

Bash script to clean Wordpress blog

Primary LanguageShellGNU General Public License v2.0GPL-2.0

wp-clean

Bash script to clean Wordpress blog

Usage:

  1. Download this script with this command: wget https://raw.githubusercontent.com/saadismail/wp-clean/master/wp-clean.sh
  2. chmod +x wp-clean.sh
  3. ./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