Last active
April 9, 2020 14:47
-
-
Save greenbicycle/abceafbec3be09969ad5 to your computer and use it in GitHub Desktop.
Quick script to scan multiple domains with wpscan
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
#!/bin/bash | |
# | |
# Use WPScan to scan sites running Wordpress | |
# and Store the output somewhere | |
# | |
domains='domain1.com example2.com example.com' | |
# Where do you want output to go? Better without trailing slash | |
destination=~/Dropbox/wpscans | |
for n in $domains; do | |
echo -e "\nScanning $n ... " | |
ruby ~/scripts/wpscan/wpscan.rb --url $n \ | |
--batch \ | |
--no-color > $destination/$n.wpscan.log | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Helllo,
If you like something a bit more advanced, you can install WPWatcher and call
wpwatcher --url domain1.com example2.com example.com