指令:(sleep 2;echo "000F737D61747573" | xxd -r -p ;sleep 1)|nc 192.168.137.1 15000|hexdump -C
说明:上面为tcp示例(给nc添加参数-u可改为udp,但没验证,理论上可行)
示例功能:给192.168.137.1上的15000端口tcp服务发送16进制报文内容000F737D61747573并将响应报文以16进制格式回显出来
Powered by: 博客园 Copyright © 2024 fochan Powered by .NET 9.0 on Kubernetes