安装 netcat
sudo apt install netcat
发送数据
#text
echo -n "your message" | nc -u -w1 <destination_ip> <port>
# hex
printf '\\x54\\x68\\x69\\x73\\x20\\x69\\x73\\x20\\x61\\x20\\x74\\x65\\x73\\x74' | nc -u -w1 <destination_ip> <port>
sudo apt install netcat
#text
echo -n "your message" | nc -u -w1 <destination_ip> <port>
# hex
printf '\\x54\\x68\\x69\\x73\\x20\\x69\\x73\\x20\\x61\\x20\\x74\\x65\\x73\\x74' | nc -u -w1 <destination_ip> <port>