cpe
cpe copied to clipboard
CPE: Common Platform Enumeration for Python
Hey there, thanks for your work on this project. It's been really useful to me and I'm happy I found it before I tried to write my own CPE parsing,...
If you like, you can transfer it to me
Compare cpe use fs format string,the two same cpe compare false.But when use wfn format,It return True ``` # -*- coding: utf-8 -*- from cpe.cpeset2_3 import CPESet2_3 from cpe.cpe2_3 import...
Bumps [py](https://github.com/pytest-dev/py) from 1.7.0 to 1.10.0. Changelog Sourced from py's changelog. 1.10.0 (2020-12-12) Fix a regular expression DoS vulnerability in the py.path.svnwc SVN blame functionality (CVE-2020-29651) Update vendored apipkg: 1.4...
Bumps [pygments](https://github.com/pygments/pygments) from 2.2.0 to 2.7.4. Release notes Sourced from pygments's releases. 2.7.4 Updated lexers: Apache configurations: Improve handling of malformed tags (#1656) CSS: Add support for variables (#1633, #1666)...
Bumps [jinja2](https://github.com/pallets/jinja) from 2.10 to 2.11.3. Release notes Sourced from jinja2's releases. 2.11.3 This contains a fix for a speed issue with the urlize filter. urlize is likely to be...
So I noticed something interesting with this library: ```python import cpe raw_23_string = '''cpe:2.3:a:\!\(\/:*:*:*:*:*:*:*:*:*''' parsed_23 = cpe.CPE(raw_23_string) print(parsed_23.as_fs()) print(parsed_23.get_vendor()) parsed_23_uri = cpe.CPE(parsed_23.as_uri_2_3()) print(parsed_23_uri.as_fs()) print(parsed_23_uri.get_vendor()) ``` Which outputs: ``` cpe:2.3:a:\!\(\/:*:*:*:*:*:*:*:*:* ['\\!\\(\\/']...
Tried the CPE parser library for visual_c++ and it failed with an "Invalid value for product" error Please refer to the stack trace below - ``` >>> cpe_str='cpe:/a:microsoft:visual_c++:2005:sp1_redistribution_pkg' >>> c22...
Hi I'm back for another question :) I'm not sure if this is a bug or the expected behavior. When using CPESet to perform name matching, the asterisk alone is...
When running Python 3.6.5 and using the cpe module with python -OO, it outputs the following DeprecationWarning messages: > /lib/python3.6/site-packages/cpe/comp/cpecomp1_1.py:57:` DeprecationWarning: invalid escape sequence \w > _STRING = "\w\.\-,\(\)@\#" >/lib/python3.6/site-packages/cpe/comp/cpecomp2_2.py:52:...