mirror of
https://github.com/cve-search/cpe-guesser.git
synced 2024-11-14 19:08:27 +00:00
Alexandre Dulaunoy
a933c6f172
- Parse the CPE 2.3 XML file - Extract vendor and product - Canonize words from the vendor and product - Insert in redis the reverse index and create a sorted set with the score per cpe vendor:product frequency
4 lines
142 B
Bash
4 lines
142 B
Bash
#!/bin/sh
|
|
|
|
wget https://nvd.nist.gov/feeds/xml/cpe/dictionary/official-cpe-dictionary_v2.3.xml.gz
|
|
gzip -d official-cpe-dictionary_v2.3.xml.gz
|