I tried to run the script on an Ubuntu 20.04.1 LTS (GNU/Linux 5.4.0-1025-aws x86_64). The simplejson package is the one that came with Ubuntu through apt:
[Info] Default Mode. Check vulnerabilities of installed packages...
Traceback (most recent call last):
File "vulmap-linux.py", line 312, in <module>
vulnerabilityScan()
File "vulmap-linux.py", line 268, in vulnerabilityScan
outResults(queryData)
File "vulmap-linux.py", line 102, in outResults
response = sendRequest(queryData)
File "vulmap-linux.py", line 93, in sendRequest
response = (requests.post(url, data=body, headers=headers)).json()
File "/usr/lib/python3/dist-packages/requests/models.py", line 897, in json
return complexjson.loads(self.text, **kwargs)
File "/usr/lib/python3/dist-packages/simplejson/__init__.py", line 518, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3/dist-packages/simplejson/decoder.py", line 370, in decode
obj, end = self.raw_decode(s)
File "/usr/lib/python3/dist-packages/simplejson/decoder.py", line 400, in raw_decode
return self.scan_once(s, idx=_w(s, idx).end())
simplejson.errors.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
I tried to run the script on an Ubuntu 20.04.1 LTS (GNU/Linux 5.4.0-1025-aws x86_64). The simplejson package is the one that came with Ubuntu through apt:
This is the result from
python3 vulmap-linux.py
: