mirror of https://github.com/dirtbags/moth.git
15 lines
346 B
Bash
Executable File
15 lines
346 B
Bash
Executable File
#! /bin/sh -e
|
|
|
|
exec 2>&1
|
|
|
|
IP=$(cat ip.txt)
|
|
ip addr add $IP label eth0:printf dev eth0
|
|
|
|
# So I say to him, "Alex, what's a good high port number for a CTF category?"
|
|
# And he says, "6"
|
|
# And I say, "no, it has to be bigger than 1000"
|
|
# And he says, "how about 9001, because that's bigger than 9000"
|
|
# Okay.
|
|
|
|
exec tcpsvd ${IP%/*} 9001 ./run-printf
|