moth/pwnables/skel/var/service/heartbeat/run

10 lines
289 B
Plaintext
Raw Normal View History

2009-10-07 17:32:36 -06:00
#! /bin/sh
# Busybox netcat doesn't support UDP unless you compile in desktop mode.
# No problem, traceroute can send a UDP packet too.
while true; do
# Apparently traceroute adds 1 to the base port (-p)
traceroute -m 2 -q 1 -p 8 10.0.0.1 2>/dev/null >/dev/null
2009-10-07 17:32:36 -06:00
sleep 10
done