mesquidar / adbsploit Goto Github PK
View Code? Open in Web Editor NEWA python based tool for exploiting and managing Android devices via ADB
A python based tool for exploiting and managing Android devices via ADB
Oi
Ethical heaker for represent of Bangladesh
Traceback (most recent call last):
File "/usr/local/bin/adbsploit", line 6, in
from pkg_resources import load_entry_point
File "/usr/share/cffi-wheels/setuptools-44.1.0-py2.py3-none-any.whl/pkg_resources/init.py", line 3251, in
File "/usr/share/cffi-wheels/setuptools-44.1.0-py2.py3-none-any.whl/pkg_resources/init.py", line 3235, in _call_aside
File "/usr/share/cffi-wheels/setuptools-44.1.0-py2.py3-none-any.whl/pkg_resources/init.py", line 3264, in _initialize_master_working_set
File "/usr/share/cffi-wheels/setuptools-44.1.0-py2.py3-none-any.whl/pkg_resources/init.py", line 583, in _build_master
File "/usr/share/cffi-wheels/setuptools-44.1.0-py2.py3-none-any.whl/pkg_resources/init.py", line 900, in require
File "/usr/share/cffi-wheels/setuptools-44.1.0-py2.py3-none-any.whl/pkg_resources/init.py", line 786, in resolve
pkg_resources.DistributionNotFound: The 'rich' distribution was not found and is required by adbsploit
When I execute the command for install adbsploit it gives me an error:
Traceback (most recent call last):
File "setup.py", line 1, in
from setuptools import setup, find_packages
ImportError: No module named setuptools
¿Any solutions?
Lmao it isn't even an exploit, it just types text, and do things that normal adb does, lmao.
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
Sir when we connect try to connect with ip then he showing connection refused
Please solve it please
And massage me on gmail
My email address is : [email protected]
Not possible to Install it on Raspi OS (Raspberry Pi)..
Install ends with the follow Error
pi@raspberrypi:~/adbsploit $ sudo python setup.py install Traceback (most recent call last): File "setup.py", line 1, in <module> from setuptools import setup, find_packages File "build/bdist.linux-armv7l/egg/setuptools/__init__.py", line 21, in <module> File "build/bdist.linux-armv7l/egg/setuptools/version.py", line 1, in <module> File "/usr/local/lib/python2.7/dist-packages/setuptools-49.2.1-py2.7.egg/pkg_resources/__init__.py", line 1380 raise SyntaxError(e) from e ^ SyntaxError: invalid syntax
#TODO
def backdoor():
global device
if device != 'none':
if shutil.which("msfvenom") is not None:
try:
d = adbutils.adb.device(device)
print(arrow + ("[{0}+{1}] Specify the payload: (com.whatsapp)").format(Fore.RED, Fore.WHITE))
table = Table()
table.add_column("Name", style="cyan")
table.add_column("Description", style="magenta")
table.add_row("meterpreter_reverse_http", "Android Meterpreter Reverse HTTP Stager")
table.add_row("meterpreter_reverse_https", "Android Meterpreter Reverse HTTPS Stager")
table.add_row("meterpreter_reverse_tcp", "Android Meterpreter Reverse TCP Stager")
table.add_row("meterpreter_reverse_http_inline", "Android Meterpreter Reverse HTTP Inline")
table.add_row("meterpreter_reverse_https_inline", "Android Meterpreter Reverse HTTPS Inline")
table.add_row("meterpreter_reverse_tcp_inline", "Android Meterpreter Reverse TCP Inline")
table.add_row("shell_reverse_http", "Android Command Shell Reverse HTTP Stager")
table.add_row("shell_reverse_https", "Android Command Shell Reverse HTTP Stager")
table.add_row("shell_reverse_tcp", "Android Command Shell Reverse HTTP Stager")
console = Console()
console.print(table)
print(arrow + ("[{0}+{1}] Specify the payload: (meterpreter_reverse_http)").format(Fore.RED, Fore.WHITE))
payload = my_input(arrow + " adbsploit" + Fore.RED + "(backdoor) " + Fore.WHITE + "> ")
if payload == "":
print()
elif payload == "meterpreter_reverse_http":
print()
elif payload == "meterpreter_reverse_https":
print()
elif payload == "meterpreter_reverse_tcp":
print()
elif payload == "meterpreter_reverse_http_inline":
print()
elif payload == "meterpreter_reverse_https_inline":
print()
elif payload == "meterpreter_reverse_tcp_inline":
print()
elif payload == "shell_reverse_http":
print()
elif payload == "shell_reverse_httpS":
print()
elif payload == "shell_reverse_TCP":
print()
else:
print(arrow + ("[{0}+{1}] Select a correct payload...").format(Fore.RED, Fore.WHITE))
except:
print(arrow + ("[{0}+{1}] An error ocurred generating the backdoor...").format(Fore.RED, Fore.WHITE))
else:
print(arrow + ("[{0}+{1}] ADBSploit use Metasploit for generating backdoors, you must install to use this option").format(
Fore.RED, Fore.WHITE))
print(arrow + (
"[{0}+{1}] Install it via https://github.com/rapid7/metasploit-framework/wiki/Nightly-Installers ").format(
Fore.RED, Fore.WHITE))
else:
print(arrow + ("[{0}+{1}] You must select a device before...").format(Fore.RED, Fore.WHITE))
Phone
Hey! I used shodan to find target device. When i try to connect i have an error:
connection refused
Can you help me please?
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
Hey man. I hope you doing well I just wanted to ask how do I fix the unable to connect connection timed out error? I'm using a valid ip so I'm at a loss.
Please respond at your earliest convenience
P.S here's my email: [email protected]
Hey this tool was not working , create a video for fix it
unable to connect to ...:5555: Connection refused
Traceback (most recent call last):
File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/adbutils/_adb.py", line 61, in _safe_connect
return self._create_socket()
^^^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/adbutils/_adb.py", line 53, 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 "/data/data/com.termux/files/usr/bin/adbsploit", line 33, in
sys.exit(load_entry_point('adbsploit==0.1', 'console_scripts', 'adbsploit')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/adbsploit-0.1-py3.11.egg/adbsploit/adbsploit.py", line 45, in main
File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/adbsploit-0.1-py3.11.egg/adbsploit/adbsploit.py", line 252, in connect
File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/adbutils/_adb.py", line 247, in connect
with self._connect(timeout=timeout) as c:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/adbutils/_adb.py", line 171, in _connect
_conn = AdbConnection(self.__host, self.__port)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/adbutils/_adb.py", line 44, in init
self.__conn = self._safe_connect()
^^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/adbutils/_adb.py", line 64, in _safe_connect
return self._create_socket()
^^^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/adbutils/_adb.py", line 53, in _create_socket
s.connect((adb_host, adb_port))
ConnectionRefusedError: [Errno 111] Connection refused
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.