· last year · Jan 15, 2024, 10:30 AM
1adb - An exploitation tool for android devices.
2A tool that allows you to search for vulnerable Android devices across the world and exploit them.
3
4Version
5
6Features
7Features:
8 - Post-Exploitation modules to control and tinker with the device you are connected to.
9 - Scanners to search for vulnerable Android devices across the world to exploit.
10 - Options for managing how many devices you have connected.
11 - Options for checking whether the devices you are connected to are online or offline.
12 - IP-Lookup for retrieving information on a certain IP.
13 - Options to dump the IP Addresses of the vulnerable Android devices. [This makes your life easier so you dont have to find it yourself]
14Getting the required API keys
15Create an account on censys.io and then go to your account page and get your free api_id and api_secret key and open 'adbnet.py' and edit in your api id and api key here:
16
17image
18
19Create an account on shodan.io and go to your account to get your free API key, once you have it copied, open 'adbnet.py' and edit in your API key here: image
20
21Simple Tutorial
22First, run the 'dump shodan' or 'dump censy' (dump shodan is recommended) command to
23dump the IP addresses of the vulnerable devices.
24
25Then, after you find an IP-address you want to try, run the 'connect' command and you will be prompted to enter
26the target IP address, once you enter the target IP address, you will be prompted to enter the port. For the port,
27you can try entering '5555' or '4444' since those are the most common ports. If you want, you can try finding the
28specific port yourself, but it might take some time.
29
30Now AdbNet will try to connect to the vulnerable Android device.
31If it fails to connect, try another IP.
32
33If you manage to connect to a device, now you can check if you are connected by using the 'devices' command.
34
35< Warning! > You can only be connected to one device at a time! To kill the sessions use the 'killall' command! < Warning! >
36
37To open a shell and execute commands on the device, use the 'terminal' command.
38
39To run post-exploitation modules, run the 'post' command for the post-exploitation menu to load. Then, you
40can run any module you like.
41
42REMEMBER: IF YOU WANT TO CONNECT TO A DIFFERENT DEVICE, RUN THE 'killall' COMMAND, AND REPEAT THE PROCESS.
43Installation/How To Run:
44
45sudo apt install pq
46sudo apt install adb
47pip3 install colorama
48pip3 install requests
49python3 adbnet.py or python adbnet.py or py adbnet.py
50
51TIP: For people that are new to this, if you are having issues installing a certain Python module, just do this: pip3 install <modulename>
52