Skip to content

Instantly share code, notes, and snippets.

Last active Dec 1, 2021
What would you like to do?
UDP network test

Tested with BSD NetCat, not nmap project's NCat!


IP=CHANGEME ; for ((i=1; i<=600;i++)); do echo "$i: Received at $(date '+%s')." | netcat -4unNw1 ${IP} 15384; done


Ubuntu 20.04.3

echo "$(dig +short"; netcat -vulknp 15384

CentOS / RHEL 8.3

yum install -y netcat bind-utils
echo "$(dig +short"; netcat -vulkn 15384
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment