Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cpe2.3 uri formatted string parsed more human #60

Open
beruhan opened this issue Apr 12, 2024 · 0 comments
Open

cpe2.3 uri formatted string parsed more human #60

beruhan opened this issue Apr 12, 2024 · 0 comments

Comments

@beruhan
Copy link

beruhan commented Apr 12, 2024

from cpe import CPE

a = CPE("cpe:2.3:a:microsoft_windows:internet_explorer:8.0.6001:beta:*:*:*:*:*:*")
print(a.get_vendor())
print(a.get_product())

currently result:

['microsoft_windows']
['internet_explorer']

need result:

['microsoft windows']
['internet explorer']

Which one meets the standard requirements?
Common Platform Enumeration: Naming Specification:https://nvlpubs.nist.gov/nistpubs/Legacy/IR/nistir7695.pdf
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant