moth/packages/pwnables/service/eth0.pwn/run

12 lines
181 B
Bash
Executable File

#! /bin/sh
if [ -d /opt/mcp ]; then
sv d .
exit
fi
hostname pwnables
ifconfig eth0 10.0.0.10 netmask 255.255.0.0
route add default gw 10.0.0.1
exec inotifyd true $(pwd):x