简介
这个属于信息收集的范围,我们要用到的是metasploit的一个模块,废话不多说
实现
首先打开metasploitmsfconsole
然后输入use auxiliary/scanner/netbios/nbname
查看选项show options
Module options (auxiliary/scanner/netbios/nbname):
Name Current Setting Required Description
---- --------------- -------- -----------
BATCHSIZE 256 yes The number of hosts to probe in each set
RHOSTS yes The target address range or CIDR identifier
RPORT 137 yes The target port (UDP)
THREADS 10 yes The number of concurrent threads
设置RHOSTSset rhosts 192.168.1.100
执行exploit
返回信息
msf auxiliary(nbname) > exploit
[*] Sending NetBIOS requests to 192.168.1.100->192.168.1.100 (1 hosts)
[*] 192.168.1.100 [BBOYSOUL] OS:Unix Names:(BBOYSOUL, ��__MSBROWSE__�, WORKGROUP) Addresses:(192.168.1.100) Mac:00:00:00:00:00:00
[*] Scanned 1 of 1 hosts (100% complete)
[*] Auxiliary module execution completed
可以看到主机名字是BBOYSOUL 系统是unix