Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nechered/82d5a25b363c0fc37b7d318835e64eec to your computer and use it in GitHub Desktop.
Save nechered/82d5a25b363c0fc37b7d318835e64eec 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment