mirror of https://github.com/dirtbags/moth.git
10 lines
289 B
Bash
Executable File
10 lines
289 B
Bash
Executable File
#! /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
|
|
sleep 10
|
|
done
|