bbs-telnet/bbs.sh

8 lines
130 B
Bash
Raw Normal View History

2023-07-21 20:56:12 +03:00
#!/bin/sh
echo "listening for commands on 0.0.0.0:$1"
socat -v -v TCP-LISTEN:$1,reuseaddr,pktinfo,fork SYSTEM:"./executor.sh"