shell nc udp syslog

#!/bin/sh
ip="目标IP"
port=12345
message="Hello UDP!"
echo "$message" | nc -u $ip $port
posted @ 2024-03-13 13:50  规格严格-功夫到家  阅读(2)  评论(0编辑  收藏  举报