wpsec-cli
WPSec.com WordPress Vulnerability Scanner Command Line Client
177
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
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
Content type
Image
Digest
sha256:e23e52fac…
Size
46.1 MB
Last updated
10 months ago
Requires Docker Desktop 4.37.1 or later.