Android ADB Listener
from kittysploit import *
from ppadb.client import Client as AdbClient
class Module(Listener):
__info__ = {
'name': 'Android ADB Listener',
'description': 'Listens for connections from Android devices using ADB',
'author': 'KittySploit Team',
'version': '1.0.0',
'handler': Handler.BIND,
'session_type': SessionType.ANDROID,
'dependencies': ['ppadb'],
}
adb_server_ip = OptString('127.0.0.1', 'IP address of the ADB server', True)
adb_server_port = OptPort(5037, 'Port number of the ADB server', True)
adb_device_id = OptString('', 'ID of the Android device to connect to', True)
def run(self):
try:
client = AdbClient(host=self.adb_server_ip, port=self.adb_server_port)
devices = client.devices()
if not devices:
print_error('No Android devices found')
return False
for device in devices:
if device.serial == self.adb_device_id:
print_success(f'Connected to {device.serial}')
return (device, device.serial, self.adb_server_port)
except Exception as e:
print_error(f'Error: {e}')
return FalseData
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation
20 Jan 2026 16:23Current
5.8Medium risk
Vulners AI Score5.8