Esa Jokinen
01621fbbed
Upgrade actions/checkout@v4
...
Node.js 16 actions are deprecated.
actions/checkout@v4 uses Node.js 20
2024-04-05 17:09:31 +03:00
Esa Jokinen
2fa90cb3f8
Black 24.3.0 formatting
2024-04-05 17:03:23 +03:00
Esa Jokinen
51f35e2566
Add Black formatting GitHub workflow
2024-04-05 16:59:05 +03:00
Esa Jokinen
88d3cf87e2
Add ShellCheck GitHub workflow
2024-04-05 16:58:49 +03:00
a228c7b25b
chg: [code] black
2023-08-09 15:21:05 +02:00
3a487c078a
Merge pull request #10 from cosad3s/main
...
Add Docker & Docker-compose + external configuration
2023-07-27 09:37:30 +02:00
Sébastien Copin
ab6402257e
No error code if import.py exits with warning
...
It can block app restarting, especially with container usage
2023-07-11 09:10:39 +02:00
Sébastien Copin
8fc6b9c45e
Add missing configuration in lib cpeguesser.py
2023-07-11 09:09:16 +02:00
Sébastien Copin
6be6f0210a
Update readme
2023-07-08 20:51:47 +02:00
Sébastien Copin
cd17ad6434
Add Docker & docker-compose
2023-07-08 20:51:16 +02:00
Sébastien Copin
b138364323
Add external configuration
2023-07-08 20:50:49 +02:00
5b5ecace85
Merge pull request #8 from FafnerKeyZee/patch-1
...
Fixing cpeweb service in case of failure
2022-05-08 15:26:18 +02:00
Fafner [_KeyZee_]
75fb53ccbc
Fixing cpeweb service in case of failure
2021-12-15 21:34:02 +01:00
958b33fb7a
Merge pull request #7 from FafnerKeyZee/main
...
Adding systemd and logrotate
2021-12-14 13:52:35 +01:00
Olivier Ferrand
95cf01a949
Adding systemd & logrotate
2021-12-14 11:27:15 +01:00
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