adbsploit icon indicating copy to clipboard operation
adbsploit copied to clipboard

error using devices command

Open gtgre opened this issue 4 years ago • 7 comments

what i'm doing wrong?

adbsploit(none) > devices Traceback (most recent call last): File "/usr/local/lib/python3.8/dist-packages/adbutils-0.8.2-py3.8.egg/adbutils/init.py", line 94, in _connect self.__conn = self._create_socket() File "/usr/local/lib/python3.8/dist-packages/adbutils-0.8.2-py3.8.egg/adbutils/init.py", line 86, in _create_socket s.connect((adb_host, adb_port)) ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/usr/local/bin/adbsploit", line 33, in sys.exit(load_entry_point('adbsploit==0.1', 'console_scripts', 'adbsploit')()) File "/usr/local/lib/python3.8/dist-packages/adbsploit-0.1-py3.8.egg/adbsploit/adbsploit.py", line 25, in main File "/usr/local/lib/python3.8/dist-packages/adbsploit-0.1-py3.8.egg/adbsploit/adbsploit.py", line 212, in devices File "/usr/local/lib/python3.8/dist-packages/adbutils-0.8.2-py3.8.egg/adbutils/init.py", line 388, in device_list return list(self.iter_device()) File "/usr/local/lib/python3.8/dist-packages/adbutils-0.8.2-py3.8.egg/adbutils/init.py", line 369, in iter_device with self._connect() as c: File "/usr/local/lib/python3.8/dist-packages/adbutils-0.8.2-py3.8.egg/adbutils/init.py", line 177, in _connect return _AdbStreamConnection(self.__host, self.__port) File "/usr/local/lib/python3.8/dist-packages/adbutils-0.8.2-py3.8.egg/adbutils/init.py", line 79, in init self._connect() File "/usr/local/lib/python3.8/dist-packages/adbutils-0.8.2-py3.8.egg/adbutils/init.py", line 97, in _connect self.__conn = self._create_socket() File "/usr/local/lib/python3.8/dist-packages/adbutils-0.8.2-py3.8.egg/adbutils/init.py", line 86, in _create_socket s.connect((adb_host, adb_port)) ConnectionRefusedError: [Errno 111] Connection refused

gtgre avatar Nov 17 '20 14:11 gtgre

Hi @gtgre, sorry for the late reply can you tell me what OS are you using and what version of python?

mesquidar avatar Nov 22 '20 09:11 mesquidar

@mesquidar yes the os is kali arm and I've tried whit python2 and python3

gtgre avatar Nov 22 '20 10:11 gtgre

Hi @gtgre can you try with Python 3.6? and then try to install adb tools Once is installed clone the repo and install again adbsploit with python setup.py install

mesquidar avatar Nov 25 '20 16:11 mesquidar

@mesquidar sorry i'v tried whit 3.6 but i can't make it work i'v tried also 3.8 but same issue

gtgre avatar Dec 01 '20 07:12 gtgre

Did you ever work out how to fix this? I'm seeing the same issue in python 3.9

klimbot avatar Jun 20 '21 01:06 klimbot

I have the same problem in python 3.9 Do you have a solution?

Ravoltek avatar Oct 17 '22 22:10 Ravoltek

how to install remote-control on adbsploit

biln12345 avatar Mar 22 '23 18:03 biln12345