markri / wp-sec

Wp-sec is an exentsion for wp-cli which checks for Wordpress CVE security issues at wpvulndb.com
MIT License
84 stars 8 forks source link

wpvulndb.com api v2 is dead #33

Closed khag7 closed 4 years ago

aaronmweiss commented 4 years ago

I believe I'm experiencing something similar. I've been getting the following when I run this command:

`----------------------------------------------- Checking core vulnerabilities for version 5.3

Error: Couldn't check wpvulndb @ https://wpvulndb.com/api/v2/wordpresses/53 (HTTP code 404)`

markri commented 4 years ago

Just removed the APIv2 methods. APIv3 is now default and requires the usage of --token on the commandline. It will error if you omit the parameter.

khag7 commented 4 years ago

seems reasonable. thanks dude!

aaronmweiss commented 4 years ago

Thank you for the quick turn around. I'm now recieving a 401 error when I run with v3 and my token:

2019-11-26_17-04-22

markri commented 4 years ago

Could you try without the brackets? [ ]

aaronmweiss commented 4 years ago

Yep, that worked. I guess I was a little confused by the manual. Thank you.