WPSec.com WordPress Vulnearbility Scanning Command Line tool
Command line client to interact with the WPSec.com WordPress Vulnerability Scanning API. Usage examples are below, an API key is needed. API documentation can be found here: https://api.wpsec.com/api/documentation.
The standalone tool can be found on GitHub here: https://github.com/wpscanner/wpsec-cli
Usage examples
First fetch the latest version:
docker pull docker.io/jonaslejon/wpsec-cli:latest
Then run the different commands like this. First ping the API and check that everything works out:
docker run --rm -it jonaslejon/wpsec-cli 31 89GsxCFczn0KNXTHcTzZimeJXXXXXXXXXXXA ping
The output should be something like:
WPSec API is up and running \o/. Response time: 0.19 seconds
And to list the websites on your account, you can run:
docker run --rm -it jonaslejon/wpsec-cli 31 89GsxCFczn0KNXTHcTzZimeJXXXXXXXXXXXA get_sites
And to list the vulnerability reports:
docker run --rm -it jonaslejon/wpsec-cli 31 89GsxCFczn0KNXTHcTzZimeJXXXXXXXXXXXA list_reports