jonaslejon/wpsec-cli

By jonaslejon

Updated 10 months ago

WPSec.com WordPress Vulnerability Scanner Command Line Client

Image
0

177

jonaslejon/wpsec-cli repository overview

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

Tag summary

Content type

Image

Digest

sha256:e23e52fac

Size

46.1 MB

Last updated

10 months ago

Requires Docker Desktop 4.37.1 or later.