mirror of
https://git.phreedom.club/localhost_frssoft/bbs-telnet
synced 2024-11-23 21:39:21 +02:00
8 lines
130 B
Bash
8 lines
130 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
echo "listening for commands on 0.0.0.0:$1"
|
||
|
|
||
|
socat -v -v TCP-LISTEN:$1,reuseaddr,pktinfo,fork SYSTEM:"./executor.sh"
|
||
|
|
||
|
|