Created
August 28, 2018 11:04
-
-
Save MattRyanCo/7a0ac08aef71cf49a2c63b068e7c61ae to your computer and use it in GitHub Desktop.
Run MainWP Sucuri Scan of multiple sites from console
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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