局域网内知道对方IP地址,如何知道其计算机名? - xieguang133
DOS中不是有一个很好的工具么 “
大家都忘记了~???奇怪了 “
nbtstat -a ip
IP为对方的IP地址
可以获得对方的netbios名和工作组,MAC地址~~~~
C:UsersAdministrator>nbtstat -a 192.168.1.4
本地连接:
节点 IP 址址: [192.168.1.24] 范围 ID: []
NetBIOS 远程计算机名称表
名称 类型 状态
———————————————
N2012 <00> 唯一 已注册
SALES02 <00> 组 已注册
N2012 <20> 唯一 已注册
SALES02 <1E> 组 已注册
MAC 地址 = 20-CF-30-D7-96-D3
补充:
Displays protocol statistics and current TCP/IP connections using NBT(NetBIOS over TCP/IP).
NBTSTAT [ [-a RemoteName] [-A IP address] [-c] [-n]
[-r] [-R] [-RR] [-s] [-S] [interval] ]
-a (adapter status) Lists the remote machine\’s name table given its name
-A (Adapter status) Lists the remote machine\’s name table given its IP address.
-c (cache) Lists NBT\’s cache of remote [machine] names and their IP addresses
-n (names) Lists local NetBIOS names.
-r (resolved) Lists names resolved by broadcast and via WINS
-R (Reload) Purges and reloads the remote cache name table
-S (Sessions) Lists sessions table with the destination IP addresses
-s (sessions) Lists sessions table converting destination IP addresses to computer NETBIOS names.
-RR (ReleaseRefresh) Sends Name Release packets to WINS and then, starts Refresh
RemoteName Remote host machine name.
IP address Dotted decimal representation of the IP address.
interval Redisplays selected statistics, pausing interval seconds between each display. Press Ctrl+C to stop redisplaying statistics.
D:Documents and Settingsxie>nbtstat -a 192.168.1.5
VMware Network Adapter VMnet8:
Node IpAddress: [192.168.184.1] Scope Id: []
Host not found.
VMware Network Adapter VMnet1:
Node IpAddress: [192.168.59.1] Scope Id: []
Host not found.
Local Area Connection:
Node IpAddress: [192.168.1.17] Scope Id: []
NetBIOS Remote Machine Name Table
Name Type Status
———————————————
CAMUS <00> UNIQUE Registered
NASERLAND <00> GROUP Registered
CAMUS <20> UNIQUE Registered
NASERLAND <1E> GROUP Registered
NASERLAND <1D> UNIQUE Registered
..__MSBROWSE__.<01> GROUP Registered
MAC Address = 00-1C-C4-CB-21-63