Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error using devices command #4

Open
gtgre opened this issue Nov 17, 2020 · 7 comments
Open

error using devices command #4

gtgre opened this issue Nov 17, 2020 · 7 comments

Comments

@gtgre
Copy link

gtgre commented Nov 17, 2020

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

@mesquidar
Copy link
Owner

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

@gtgre
Copy link
Author

gtgre commented Nov 22, 2020

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

@mesquidar
Copy link
Owner

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

@gtgre
Copy link
Author

gtgre commented Dec 1, 2020

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

@klimbot
Copy link

klimbot commented Jun 20, 2021

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

@Ravoltek
Copy link

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

@biln12345
Copy link

how to install remote-control on adbsploit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants