I have an error when running the 'devices' command
I am on kali-linux (Debian 11.3.0-5)
Here is the kernel version : 5.18.0-kali7-amd64
and the python version : Python 3.10.7
Here is the error:
# adbsploit 1 ⨯
adbsploit(none) > devices
Traceback (most recent call last):
File "/usr/local/bin/adbsploit", line 33, in <module>
sys.exit(load_entry_point('adbsploit==0.1', 'console_scripts', 'adbsploit')())
File "/usr/local/lib/python3.10/dist-packages/adbsploit-0.1-py3.10.egg/adbsploit/adbsploit.py", line 39, in main
File "/usr/local/lib/python3.10/dist-packages/adbsploit-0.1-py3.10.egg/adbsploit/adbsploit.py", line 244, in devices
File "/usr/local/lib/python3.10/dist-packages/adbutils/__init__.py", line 649, in model
return self.get("ro.product.model", cache=True)
File "/usr/local/lib/python3.10/dist-packages/adbutils/__init__.py", line 640, in get
value = self._d._properties[name] = self._d.shell(['getprop', name]).strip()
File "/usr/local/lib/python3.10/dist-packages/adbutils/__init__.py", line 485, in shell
ret = self._client.shell(self._serial, cmdargs, stream=stream, timeout=timeout)
File "/usr/local/lib/python3.10/dist-packages/adbutils/__init__.py", line 241, in shell
c.check_okay()
File "/usr/local/lib/python3.10/dist-packages/adbutils/__init__.py", line 156, in check_okay
raise AdbError(self.read_string())
adbutils.errors.AdbError: closed
I have an error when running the 'devices' command I am on kali-linux (Debian 11.3.0-5) Here is the kernel version : 5.18.0-kali7-amd64 and the python version : Python 3.10.7
Here is the error: