用于CVE搜索的pythonapi。
pycvesearch的Python项目详细描述
PyCVESearch是一个易于使用的cve搜索包装器,默认为https://cve.circl.lu。在
这个库基于Martin Simon和{a4}的工作。在
Important Note:由于大量的滥用行为,API端点已从公共实例中删除。您可以对本地版本的CVE Search使用此API。在
安装:
源代码使用
$ pip install pycvesearch
文件:
GET /api/browse/
GET /api/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()
GET /api/cpe2.2/cpe
>>>cve.cpe22('cpe:/a:microsoft:office:2011::mac')
GET /api/cpe2.3/cpe
>>>cve.cpe23('cpe:2.3:a:microsoft:office:2011:-:mac')
GET /api/cvefor/cpe
>>>cve.cvefor('cpe:/a:microsoft:office:2011::mac')
许可证:
Apache v2.0 License
Copyright 2015-2016 Martin Simon
Copyright 2015-2016 Kai Renken
Copyright 2016 Raphaël Vinot
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.
- 项目
标签: