Commit graph

32 commits

Author SHA1 Message Date
Olivier Ferrand
13dda10ff7 Adding systemd & logrotate 2021-12-14 11:26:44 +01:00
80f0542d22
chg: [format] black -S on all files 2021-10-19 18:30:29 +02:00
3d40abfd5c
fix: [import] don't exit on update process 2021-10-19 18:20:44 +02:00
b87e83909e
new: [import] add an --update option to not flush for production servers 2021-10-19 18:18:20 +02:00
6394f495a6
Merge pull request #6 from oh2fih/main
chg: [lookup] use positional arguments for WORD(s)
2021-09-22 21:24:41 +02:00
Esa Jokinen
4678307483 chg: [lookup] use positional arguments for WORD(s) 2021-09-22 17:16:23 +03:00
93fbc1a0da
Merge pull request #5 from oh2fih/main
Optimization: replace format() with f-strings
2021-09-22 11:07:37 +02:00
Esa Jokinen
5320323840 chg: [server] configurable port, common exceptions 2021-09-22 09:50:34 +03:00
Esa Jokinen
650e0f7fec Add markdown line breaks. 2021-09-22 08:39:11 +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
a9b7c0c5f8
Update README.md
Add @oh2fih as co-copyright holder ;-)
2021-09-21 20:36:14 +02:00
722863c103
fix: [clean-up] use format() instead concatenation 2021-09-21 20:31:32 +02:00
6cf6e05b75
chg: [doc] fix the default run location based on relative data 2021-09-21 20:21:35 +02:00
da7f755f72
Merge pull request #4 from oh2fih/main
Implement the import process fully in Python
2021-09-21 20:17:48 +02:00
Esa Jokinen
9a1ee5a85e chg: [import] remove obsolete import mechanism 2021-09-21 20:25:24 +03:00
Esa Jokinen
6af4a9d6e2 chg: [doc] update import instructions 2021-09-21 20:24:44 +03:00
Esa Jokinen
fa6abfbb54 chg: [import] implement dl & fail-safe mechanism 2021-09-21 20:23:48 +03:00
Esa Jokinen
2ea30b6761 new: [dev] .gitignore added 2021-09-21 20:17:42 +03:00
98a726a8fd
chg: [doc] add a basic installation guide to make the pandas happy 2021-09-20 22:15:22 +02:00
7cf85bf16c
new: [doc] REQUIREMENTS added 2021-09-20 22:11:10 +02:00
83c9c67ef3
new: [doc] public online version added 2021-09-20 17:07:11 +02:00
f40a5630ad
Merge pull request #2 from oh2fih/main
CPE guessing logic & database access as a class.
2021-09-18 23:34:57 +02: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
f3d8ae9e6e
chg: [LICENSE] added 2021-09-16 20:23:49 +02:00
f238ca83d4
chg: [doc] README updated 2021-09-16 20:23:33 +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