nmbscan scans the shares of a SMB/NetBIOS network, using the
NMB/SMB/NetBIOS protocols.
It is useful for acquiring information on a local area network for such
purposes as security auditing.
It can obtain such information as NMB/SMB/NetBIOS/Windows hostname, IP address, IP hostname, ethernet MAC address, Windows username, NMB/SMB/NetBIOS/Windows domain name, and master browser.
It can discover all the NMB/SMB/NetBIOS/Windows hosts on a local area network by using the hosts lists maintained by master browsers.
(MAC addresses, hostnames and IPs are faked)
[gbarbier@obelix dev]$ nmbscan
nmbscan version 1.2.0 - obelix - Sun Dec 23 15:43:29 CET 2001
usage :
/usr/bin/nmbscan {-d|-m|-a}
-d show all domains
-m show all domains with master browsers
-a show all domains, master browsers, and servers
/usr/bin/nmbscan {-h|-n} host1 [host2 [...]]
-h show information on hosts, known by ip name/address
-n show information on hosts, known by nmb name
[gbarbier@obelix dev]$ nmbscan -a
nmbscan version 1.2.0 - obelix - Sun Dec 23 15:43:31 CET 2001
domain WORK
master-browser GBARBIER 192.168.1.3 polarix.village-gaulois.fr
server GBARBIER
ip-address 192.168.1.3
ip-name polarix.village-gaulois.fr
mac-address 00:01:03:7C:F6:1F
server-software Samba 2.0.7
operating-system Unix
domain VILLAGE-GAULOIS
master-browser IDEFIX 192.168.1.2 idefix.village-gaulois.fr
server GBARBIER
ip-address 192.168.1.3
ip-name polarix.village-gaulois.fr
mac-address 00:01:03:7C:F6:1F
server-software Samba 2.0.7
operating-system Unix
server GIGANTIX
ip-address 192.168.1.1
ip-name obelix.village-gaulois.fr
user-candidate GIGANTIX
server-software Samba 2.0.7
operating-system Unix
server IDEFIX
ip-address 192.168.1.2
ip-name idefix.village-gaulois.fr
mac-address 00:40:05:62:D6:5B
server-software Samba 2.0.6
operating-system Unix
server OBELIX
ip-address 192.168.1.1
ip-name obelix.village-gaulois.fr
user-candidate GIGANTIX
server-software Samba 2.0.7
operating-system Unix
The git repository is available here.
If you're interested in this software, you should have a look at NBTscan and ADMsmb.
A Gentoo package is available (thanks to Wolfram Schlich).
The maintainer will be happy to receive any feedback, including bug reports.
notes and creditsAll softwares are copyright (and copyleft) © Grégoire Barbier and are covered by enclosed licences, mostly the GNU General Public License or the GNU Lesser General Public License. For more information about free software, see the Free Software Fundation web site. Icons used on this auto-generated page belong to the KDE desktop environement. This site and the source code is hosted freely (both as in free beer and as in free speech) at Tuxfamily. NMBscan mainly uses tools from the GNU project and the Samba suite.
|