You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+21-7Lines changed: 21 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,6 @@
1
1
# CPE guesser
2
2
3
-
CPE guesser is a command-line or web service to guess the CPE name based on one or more keyword(s). Then the result can
4
-
be used against [cve-search](https://github.com/cve-search/cve-search) to do actual searches by CPE names.
3
+
CPE Guesser is a command-line tool or web service designed to guess the CPE name based on one or more keywords. The resulting CPE can then be used with tools like [cve-search](https://github.com/cve-search/cve-search) or [vulnerability-lookup](https://github.com/cve-search/vulnerability-lookup) to perform actual searches using CPE names.
5
4
6
5
## Requirements
7
6
@@ -10,11 +9,15 @@ be used against [cve-search](https://github.com/cve-search/cve-search) to do act
10
9
11
10
## Usage
12
11
13
-
To use CPE guesser, you have to initialise the [Valkey](https://valkey.io/) database with `import.py`.
12
+
To use CPE Guesser, you need to initialize the [Valkey](https://valkey.io/) database with `import.py`.
14
13
15
-
Then you can use the software with `lookup.py` to find the most probable CPE matching the keywords provided.
14
+
Once initialized, you can use the software with `lookup.py` to find the most probable CPE matching the provided keywords.
16
15
17
-
Or by calling the Web server (After running `server.py`), example: `curl -s -X POST http://localhost:8000/search -d "{\"query\": [\"tomcat\"]}" | jq .`
16
+
Alternatively, you can call the web server (after running `server.py`). For example:
17
+
18
+
```bash
19
+
curl -s -X POST http://localhost:8000/search -d '{"query": ["tomcat"]}'| jq .
0 commit comments