Last Updated: February 25, 2016
·
1.554K
· ericrallen

wpscan bash command on OSX

If you're pentesting some WordPress installs with wpscan and don't want to type the full path every time you want to use the tool, here's a simple function you can add to your profile:

 function wpscan() {
    ~/path/to/wpscan.rb "$@"
}

Obviously you'll want to replace the path/to/wpscan.rb with your actual path. I prefer keeping it in ~/Development/PenTest/wpscan/wpscan.rb.

The "$@" will send any arguments you supply to the wpscan command so you can just use it normally and all of your arguments will work.

NOTE: wpscan can be used for evil. Please only use it for good.

Have a fresh tip? Share with Coderwall community!

Post
Post a tip
Did you know?

WordPress sites collect scripts from themes, plugins, and tag managers. A compromised plugin update can add a skimmer to every page without a change in your own templates.

Security insights from Cside