Shutdown or suspend your Windows PC remotely

Switch Off is a free lightweight easy-to-use tray-based system utility that could automatically shutdown, suspend or hibernate your system. Build-in operation set could be easily extended by adding your own scripts. Automation options allows you to schedule all operations daily, weekly, past specified time or when PC becomes idle. Simple password protected Web interface allows
Continue reading Shutdown or suspend your Windows PC remotely

Python port listen

import socket import subprocess host = "172.18.0.1" port = 8888 s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM | socket.SO_REUSEADDR) s.bind((host, port)) while 1: data, addr = s.recvfrom(1024) if data == ‘wakeonlan’: subprocess.call(["/usr/bin/wakeonlan", "-i", "192.168.178.20", "08:60:6e:6c:be:d8"])import socket import subprocess host = "172.18.0.1" port = 8888 s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM | socket.SO_REUSEADDR) s.bind((host, port)) while 1: data, addr = s.recvfrom(1024)
Continue reading Python port listen