fernleafsystems/apiwrappers-wpvulndb

There is no license information available for the latest version (3.1.0) of this package.

Installs: 303

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 1

Open Issues: 0

pkg:composer/fernleafsystems/apiwrappers-wpvulndb

3.1.0 2025-12-22 14:13 UTC

This package is auto-updated.

Last update: 2025-12-22 14:13:28 UTC


README

API Wrapper for various WordPress Vulnerability Database Services

Example:

	use FernleafSystems\ApiWrappers\WpVulnDb\WPScan;

	$conn = new WPScan\Connection();
	$conn->api_key = 'abc123'; // Get this when you register
	$pluginVuln = ( new WPScan\Plugins\Retrieve() )
                  	->setConnection( $conn )
                  	->filterByVersion( '5.1' )
                  	->filterBySlug( 'wp-simple-firewall' )
                  	->retrieve();
  • When a vulnerability is found they can be enumerated from the array returned from $oPluginVuln->getVulns()
  • null will be returned if there are no vulnerabilities found for the particular slug and version so care must be taken to use the result of the request safely.
  • It is not necessary to filter by version. If you omit this, then all available vulnerabilities will be returned.