nbtscan is a NETBIOS nameserver scanner.
This is a command-line tool that scans for open NETBIOS nameservers on a local or remote TCP/IP network, and this is a first step in finding of open shares. It is based on the functionality of the standard Windows tool nbtstat, but it operates on a range of addresses instead of just one. I wrote this tool because the existing tools either didn't do what I wanted or ran only on the Windows platforms: mine runs on just about everything.
Usage: ./nbtscan-1.0.35-redhat-linux [options] target [targets...]
Targets are lists of IP addresses, DNS names, or address ranges. Ranges can be in /nbits notation ("192.168.12.0/24") or with a range in the last octet ("192.168.12.64-97")
-V show Version information
-f show Full NBT resource record responses (recommended)
-H generate HTTP headers
-v turn on more Verbose debugging
-n No looking up inverse names of IP addresses responding
-p < n > bind to UDP Port < n > (default=0)
-m include MAC address in response (implied by '-f')
-T < n > Timeout the no-responses in < n > seconds (default=2 secs)
-w < n > Wait < n > msecs after each write (default=10 ms)
-t < n > Try each address < n > tries (default=1)
-P generate results in perl hashref format
What's New in This Release:
· added ZIP-file maker option (makefile only)
Product's homepage