ssnepenthe / soter-core

A very basic library for interacting with the WPScan Vulnerability Database API.
GNU General Public License v2.0
0 stars 2 forks source link

Add support for v3 of the API #13

Open ssnepenthe opened 6 years ago

ssnepenthe commented 6 years ago

v3 requires an authorization token for all requests.

Not sure if support for v2 should be removed completely or support for both should be maintained...

ssnepenthe commented 6 years ago

From a quick inspection, it looks like responses are identical from v2 to v3.

We should be able to accept an optional API key and adjust the request URL based on whether the key has been set.

ssnepenthe commented 5 years ago

Looks like APIv2 is about to be deprecated in a few days...

https://blog.wpscan.org/wpvulndb/2019/07/12/lots-of-wpvulndb-changes.html#misc