Skip to content

Instantly share code, notes, and snippets.

@greenbicycle
Last active April 9, 2020 14:47
Show Gist options
  • Save greenbicycle/abceafbec3be09969ad5 to your computer and use it in GitHub Desktop.
Save greenbicycle/abceafbec3be09969ad5 to your computer and use it in GitHub Desktop.
Quick script to scan multiple domains with wpscan
#!/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
@tristanlatr
Copy link

Helllo,
If you like something a bit more advanced, you can install WPWatcher and call wpwatcher --url domain1.com example2.com example.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment