-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when update #16
Comments
Hi, I think there is a problem with the API, I'm getting inconsistent results when querying it. I'll contact NVD and update you on the status. |
This is the response from NVD regarding API problems:
The full communication about this is available on the provided website.
|
Thank you scmanjarrez for your help. |
Hey, I’ve updated the database following the recent NVD update, as it seemed to be in a corrupted state. Could you take a look at the new database? You can either build your own using the repository CVEScannerV2DB, or grab a copy from the docker container:
Then you can get the copy from your |
Happy new year |
Hey, is the problem fixed? |
Hello i get this error message when i try to update database my OS is
Linux kali 6.11.2-amd64 #1 SMP PREEMPT_DYNAMIC Kali 6.11.2-1kali1 (2024-10-15) x86_64 GNU/Linux
pip list 1 ⨯
Package Version
anyio 4.3.0
certifi 2024.2.2
exceptiongroup 1.2.0
fake-useragent 1.5.1
h11 0.14.0
httpcore 1.0.4
httpx 0.27.0
idna 3.6
pip 24.3.1
pyrate-limiter 2.10.0
sniffio 1.3.1
tqdm 4.66.2
typing_extensions 4.10.0
This is error
(venv)(root💀kali)-[~/CVEScannerV2/extra]
└─# python3 database.py -d cve.db
CVEScannerV2 Copyright (C) 2022-2024 Sergio Chica Manjarrez @ pervasive.it.uc3m.es.
Universidad Carlos III de Madrid.
This program comes with ABSOLUTELY NO WARRANTY; for details check below.
This is free software, and you are welcome to redistribute it
under certain conditions; check below for details.
[] Updating database...
[] Retrieving CVEs/CPEs metadata...
[+] Metadata: 2043 CPEs | 245652 CVEs
[+] Retrieving CPEs: 0%| | 0/2043 [00:00<?, ?it/s]Traceback (most recent call last):
File "/root/stuff/CVEScannerV2/extra/database.py", line 420, in query_api
data = resp.json()
^^^^^^^^^^^
File "/root/stuff/CVEScannerV2/extra/venv/lib/python3.12/site-packages/httpx/_models.py", line 764, in json
return jsonlib.loads(self.content, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/json/init.py", line 346, in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/json/decoder.py", line 338, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/json/decoder.py", line 356, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Thank you
The text was updated successfully, but these errors were encountered: