Lucene search
+L

ChromeCast Discovery

🗓️ 01 Dec 2025 12:51:31Reported by KittySploitType 
kittysploit
 kittysploit
🔗 kittysploit.com

KittySploit module to discover Chromecast devices within a network.

Refs
Code
from kittysploit import *
import pychromecast

class Module(Auxiliary):

    __info__ = {
            'name': 'ChromeCast Discovery',
            'description': 'Launch this module to discover chromecast within a Network',
            'author': 'KittySploit Team',
        }
        
    timeout = OptInteger(5, "timeout")	

    def check(self):
        """Check if pychromecast is available"""
        try:
            import pychromecast
            return True
        except ImportError:
            print_error("pychromecast library is not installed. Please install it using: pip install pychromecast")
            return False

    def run(self):
        print_info("Searching devices")
        try:
            # get_chromecasts returns a tuple (chromecasts, browser) or just chromecasts depending on version
            result = pychromecast.get_chromecasts(timeout=self.timeout)
            
            # Handle both return formats
            if isinstance(result, tuple):
                chromecasts, browser = result
            else:
                chromecasts = result
                browser = None
            
            if chromecasts:
                for cast in chromecasts:
                    # Access attributes directly on the cast object
                    friendly_name = getattr(cast, 'name', None) or getattr(cast, 'friendly_name', 'Unknown')
                    cast_type = getattr(cast, 'cast_type', 'Unknown')
                    model_name = getattr(cast, 'model_name', 'Unknown')
                    host = getattr(cast, 'host', 'Unknown')
                    
                    print_success(f"{friendly_name} ({cast_type} - {model_name}) => {host}")
                
                # Clean up browser if it was created
                if browser:
                    try:
                        browser.stop_discovery()
                    except:
                        pass
            else:
                fail.NotFound()
        except Exception as e:
            print_error(f"Error discovering Chromecast devices: {e}")
            fail.Unknown()

Data

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

16 Jan 2026 10:23Current
5.9Medium risk
Vulners AI Score5.9
0