bbs-telnet/bbs.sh
2023-07-21 20:56:12 +03:00

8 lines
130 B
Bash
Executable File

#!/bin/sh
echo "listening for commands on 0.0.0.0:$1"
socat -v -v TCP-LISTEN:$1,reuseaddr,pktinfo,fork SYSTEM:"./executor.sh"