扫描局域网所有IP及MAC

具体操作方法:

1、下载nbtscan.rar到硬盘后解压;
2、然后将cygwin1.dll和nbtscan.exe两文件拷贝到c:\windows\system32下;
3、进入cmd窗口就可以输入命令:nbtscan 192.168.1.1-24

 

 

C:\Documents and Settings\Administrator>nbtscan 192.168.0.23-200
Doing NBT name scan for addresses from 192.168.0.23-200

IP address       NetBIOS Name     Server    User             MAC address
------------------------------------------------------------------------------
192.168.0.23     MICROSOF-8AFE6E    <server>  <unknown>         94-0c-9d-19-1t-5a
192.168.0.26     WWW-537E4AEE9F8  <server>  <unknown>        00-1f-4b-c9-3b-bd
192.168.0.28     WWW-9EFCE54FD31  <server>  <unknown>        00-1n-bf-04-b3-cc

你可能感兴趣的:(C++,c,windows,C#)