Closed vigneshsb401 closed 1 year ago
Hello! It looks like Censys is returning a 403 error. Can you double check that your Censys API key is correct?
Hello, I am also having the same issue. I double checked the Censys API keys and they are correct. I am also getting the same error.
`[] Retrieving Cloudflare IP ranges from https://www.cloudflare.com/ips-v4 [] The target appears to be behind CloudFlare. [] Looking for certificates matching "gitlab.com" using Censys [] 362 certificates matching "gitlab.com" found. [*] Looking for IPv4 hosts presenting these certificates... Traceback (most recent call last): File "/home/kali/.local/lib/python3.10/site-packages/censys/common/base.py", line 181, in _make_call json_data = res.json() File "/home/kali/.local/lib/python3.10/site-packages/requests/models.py", line 910, in json return complexjson.loads(self.text, **kwargs) File "/usr/lib/python3/dist-packages/simplejson/init.py", line 525, 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)
The above exception was the direct cause of the following exception:
Could you add a print to see the response you get?
me too problem
python 3.8
Could you add a print to see the response you get?
now it worked python 3.8
Thanks, closing then, let me know if we should reopen!
Traceback (most recent call last): File "/home/brutexploiter/.local/lib/python3.10/site-packages/censys/common/base.py", line 181, in _make_call json_data = res.json() File "/home/brutexploiter/.local/lib/python3.10/site-packages/requests/models.py", line 910, in json return complexjson.loads(self.text, **kwargs) File "/home/brutexploiter/.local/lib/python3.10/site-packages/simplejson/init.py", line 516, in loads return _default_decoder.decode(s) File "/home/brutexploiter/.local/lib/python3.10/site-packages/simplejson/decoder.py", line 370, in decode obj, end = self.raw_decode(s) File "/home/brutexploiter/.local/lib/python3.10/site-packages/simplejson/decoder.py", line 400, in raw_decode return self.scan_once(s, idx=_w(s, idx).end()) simplejson.scanner.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
The above exception was the direct cause of the following exception:
─$ python3 -V
Python 3.10.8
@brutexploiter Can't reproduce on Python 3.10.8, can you provide the input domain name?
indeed.com