Commit graph

14 commits

Author SHA1 Message Date
b87e83909e
new: [import] add an --update option to not flush for production servers 2021-10-19 18:18:20 +02:00
Esa Jokinen
4678307483 chg: [lookup] use positional arguments for WORD(s) 2021-09-22 17:16:23 +03:00
Esa Jokinen
5320323840 chg: [server] configurable port, common exceptions 2021-09-22 09:50:34 +03:00
Esa Jokinen
f7803fa4d9 fix: [clean-up] use f-strings instead of format() 2021-09-22 08:37:42 +03:00
Esa Jokinen
0e1b0942c4 fix: [clean-up] remove unused imports & variables 2021-09-22 08:34:28 +03:00
722863c103
fix: [clean-up] use format() instead concatenation 2021-09-21 20:31:32 +02:00
Esa Jokinen
fa6abfbb54 chg: [import] implement dl & fail-safe mechanism 2021-09-21 20:23:48 +03:00
Esa Jokinen
b6bc102714 CPE guessing logic & database access as a class. 2021-09-18 14:32:31 +03:00
56cfdd5852
new: [server] basic HTTP server for the CPE guesser 2021-09-17 07:45:01 +02:00
109466e062
new: [data] ranked set by cpe name 2021-09-16 07:33:37 +02:00
6baaad6f82
chg: [lookup] add ranking and output JSON 2021-09-16 07:33:11 +02:00
98de035a0c
new: [lookup] basic version of lookup 2021-09-15 21:37:41 +02:00
84092b975d
fix: [import] redis key 2021-09-15 21:37:10 +02:00
a933c6f172
new: [import] first version of the import
- 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
2021-09-07 07:29:38 +02:00