python包装https://cve.circl.lu
ares的Python项目详细描述
ares
ares是一个用python编写的apache许可库,提供了一个易于使用的包装https://cve.circl.lu。 这个库已经用Python2.7.x和Python3.6.x进行了测试。
安装:
源代码使用
$ python setup.py install
或者从pypi安装
$ pip install ares
文档:
GET /api/browse/
GET /api/browse/vendor
>>>fromaresimportCVESearch>>>cve=CVESearch()>>>cve.browse(<vendor>)
GET /api/search/vendor/product
>>>cve.search('microsoft/office')
GET /api/cveid/cveid
>>>cve.id('CVE-2014-0160')
GET /api/last
>>>cve.last()
GET /api/dbInfo
>>>cve.dbinfo()
许可证:
Copyright 2014-2018 Martin Simon
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
给我买杯咖啡?
如果你想给我买杯咖啡(或啤酒?),欢迎捐赠:
BTC : 1BNFXHPNRtg7LrLUmQWwPUwzoicUi3uP8Q
ETH : 0xd061B7dD794F6EB357bf132172ce06D1B0E5b97B
BCH : qpcmv8vstulfhgdf29fd8sf2g769sszscvaktty2rv