moth/pwnables/service/eth0.pwn/run

9 lines
138 B
Plaintext
Raw Normal View History

#! /bin/sh
if ! [ -d /opt/mcp ]; then
hostname pwnables
ifconfig eth0 10.1.1.2 netmask 255.0.0.0
fi
exec inotifyd true $(pwd):x