UDP-server to execute shell commands. Designed for development, prototyping or remote control. Settings through two command line arguments, path and shell command. By default bind to :8080.
shell2udp [options] ["shell command" for /] /path "shell command" /path2 "shell command2" ...
options:
-p, --port NNNN : port for udp server ( default 8080 )pip install shell2udpshell2udp 'shutdown -s -t 0'shell2udp 'shutdown -s -t 0' /beep "powershell -c echo `a"shell2udp --port 3306 /beep 'powershell -command [Console]::Beep(440,2000)'[System.Net.Sockets.UdpClient]::New().Send("", 0, "localhost", 8080)[System.Net.Sockets.UdpClient]::New().Send([System.Text.Encoding]::UTF8.GetBytes("/beep"), 5, "localhost", 8080)
# [System.Text.Encoding]::UTF8.GetBytes("/beep").Lengthshell2udp 'notify-send Hello root'shell2udp -p3000 'notify-send Hello root' /path 'canberra-gtk-play -i desktop-login'shell2udp -p3000 /path 'canberra-gtk-play -i desktop-login'echo > /dev/udp/localhost/8080echo /path > /dev/udp/localhost/8080