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.
Written by Eric Allen
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Pentest
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#