HUB
Sign inSign up
wpsec-cli logo

jonaslejon/wpsec-cli

By jonaslejon

•Updated about 17 hours ago

WPSec.com WordPress Vulnerability Scanner Command Line Client

Image
0

1.8K

jonaslejon/wpsec-cli repository overview

⁠WPSec.com WordPress Vulnerability Scanning Command Line tool

Command line client to interact with the WPSec.com WordPress Vulnerability Scanning API. Usage examples are below. An API client ID and secret are needed: replace CLIENT_ID and CLIENT_SECRET with your own. 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 CLIENT_ID CLIENT_SECRET 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 CLIENT_ID CLIENT_SECRET get_sites

And to list the vulnerability reports:

docker run --rm -it jonaslejon/wpsec-cli CLIENT_ID CLIENT_SECRET list_reports
Tag summary
Recent tags
Content type
Image
Digest
sha256:c485bba36…
Size
47 MB
Last updated
about 17 hours ago
docker pull jonaslejon/wpsec-cli:latest