局域网 mac 扫描

@echo off
for /L %%i in (1,1,255) do (
echo %%i
start ping 192.168.41.%%i
)
@echo on
rem arp -a>>%temp%\log.log
rem type %temp%\log.log|findstr "192.168.X"
timeout /T 30
arp -a > a.txt
type a.txt

posted @ 2020-01-06 09:31  大块头  阅读(363)  评论(0编辑  收藏  举报