lanmaster53 / recon-ng

Open Source Intelligence gathering tool aimed at reducing the time spent harvesting information from open sources.
GNU General Public License v3.0
4.1k stars 646 forks source link

Errors while running profiler Kali Linux #174

Closed Caso-Serio closed 6 months ago

Caso-Serio commented 2 years ago

Hello, apologies in advance if this is a dumb issue but when I try to run the profiler after loading in the profiles I keep getting multiple errors. I am running it in Kali Linux on VirtualBox and I am not sure if it is an error with the VM itself or if I am doing something wrong. Any help would be greatly appreciated. Below are the errors listed. Thank You.

Traceback (most recent call last):
File "/usr/lib/python3/dist-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 373, in decode
raise JSONDecodeError("Extra data", s, end, len(s))
simplejson.errors.JSONDecodeError: Extra data: line 1 column 4 - line 1 column 15 (char 3 - 14)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/share/recon-ng/recon/core/module.py", line 342, in do_run
self.run()
File "/usr/share/recon-ng/recon/core/module.py", line 336, in run
self.module_run(*params)
File "/home/alejandro/.recon-ng/modules/recon/profiles-profiles/profiler.py", line 26, in module_run
self.thread(resp.json()['sites'], user)
File "/usr/lib/python3/dist-packages/requests/models.py", line 917, in json
raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
requests.exceptions.JSONDecodeError: [Errno Extra data] 404: Not Found: 3

lanmaster53 commented 6 months ago

I don't officially support Kali, so any issues with the tool running on that distribution would have to be addressed with them. However, this looks like a profiler issue. All module related issues, including dependencies, should be raised in the module repository.

A fix has been merged to address this issue.