mirror of https://github.com/dirtbags/moth.git
10 lines
119 B
Plaintext
10 lines
119 B
Plaintext
|
#! /bin/sh -e
|
||
|
|
||
|
exec 2>&1
|
||
|
|
||
|
IP=$(cat ip.txt)
|
||
|
ip addr add $IP dev eth0 || true
|
||
|
|
||
|
exec tcpsvd -u nobody ${IP%/*} 1013 ./go
|
||
|
|