Skip to content

Instantly share code, notes, and snippets.

@MattRyanCo
Created August 28, 2018 11:04
Show Gist options
  • Save MattRyanCo/7a0ac08aef71cf49a2c63b068e7c61ae to your computer and use it in GitHub Desktop.
Save MattRyanCo/7a0ac08aef71cf49a2c63b068e7c61ae to your computer and use it in GitHub Desktop.
Run MainWP Sucuri Scan of multiple sites from console
# bash shell
#Log into server via bitvise ssh - good multi-line shell handling
cd ../var/www/html
# Get listing of all MainWP sites
wp --allow-root mainwp sites
# Run Sucuri scan on each
for i in 1 3 4 5 7 8 11 13 14 16 17 18; do wp --allow-root mainwp-sucuri scan $i; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment