https://jingyan.baidu.com/article/ceb9fb1089fd948cad2ba000.html
java探测局域网存活
https://blog.csdn.net/weixin_37272286/article/details/80150886
使用 Python 查看局域网内存活主机
https://mp.weixin.qq.com/s?__biz=MzI2NzU2MjMxOA==&mid=2247483838&idx=1&sn=4c3954b87da4231181caeba5e4422ae1&chksm=eafdbd9fdd8a34899132cda3c31fc1d881dc2ad706670ceea50c7a00e349dda50b3f84cfe1af&mpshare=1&scene=23&srcid=0108ZSYb3IwJ3ShUu5Y9QNti#rd
通过上面一条,加上我在内网玩的经验,延伸出了下面这条,是用来找主机名的
for /l %i in (1,1,255) do @ping -a 10.0.1.%i -w 1 -n 1 | find /i "Pinging"