Open jfima opened 8 years ago
Hi jfima, Please ensure that you have the latest version (requests):
pip install --upgrade requests
Do you have modules installed?
Try to pull the modules manually using the API:
http://{IP}:8000/modules/api/includes/ws_action.php?token={TOKEN}&api=/module
(replace {IP} and {TOKEN} with your details)
What is the output?
Please let me know regards,
as you can see
root@kali:~/FruityShell# pip install --upgrade requests
Downloading/unpacking requests from https://pypi.python.org/packages/2.7/r/requests/requests-2.8.1-py2.py3-none-any.whl#md5=46f1d621daa3ab38958a42f51478b1ee
Downloading requests-2.8.1-py2.py3-none-any.whl (497kB): 497kB downloaded
Installing collected packages: requests
Found existing installation: requests 2.7.0
Not uninstalling requests at /usr/lib/python2.7/dist-packages, owned by OS
Successfully installed requests
Cleaning up...
same error!
[+] Session established. Have fun ;)
[*] FruityShell v1.0
Traceback (most recent call last):
File "./FruityShell.py", line 329, in <module>
for line in out.json():
File "/usr/local/lib/python2.7/dist-packages/requests/models.py", line 805, in json
return complexjson.loads(self.text, **kwargs)
File "/usr/lib/python2.7/dist-packages/simplejson/__init__.py", line 505, in loads
return _default_decoder.decode(s)
File "/usr/lib/python2.7/dist-packages/simplejson/decoder.py", line 370, in decode
obj, end = self.raw_decode(s)
File "/usr/lib/python2.7/dist-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)
404 Not Found
nginx/1.6.2
web interface & modules worked fine
Hi jfima, It looks like you don't have the API module installed. Without the API module, FruityShell neither FruityDisplay will work.
Go to the modules page from FruityWiFi web-interface, and install the API module.
REF: https://github.com/xtr4nge/module_api
regards,
same error on my raspberry pi, but maybe something wrong witch my python configuration. this is my kali 2.0 vbox shell error:
about pip and python