nbtscan(1) program for scanning networks for NetBIOS name information


nbtscan [-v] [-d] [-e] [-l] [-t timeout] [-b bandwidth] [-r] [-q] [-s separator] [-h] [-m retransmits] [-f filename | scan_range]


This manual page documents briefly the nbtscan command.

This manual page was written for the Debian GNU/Linux distribution because the original program does not have a manual page.

nbtscan is a program for scanning IP networks for NetBIOS name information. It sends NetBIOS status query to each address in supplied range and lists received information in human readable form. For each responded host it lists IP address, NetBIOS computer name, logged-in user name and MAC address (such as Ethernet).


A summary of options is included below.

Verbose output. Print all names received from each host.
Dump packets. Print whole packet contents. Cannot be used with -v, -s or -h options.
Format output in /etc/hosts format.
Format output in lmhosts format. Cannot be used with -v, -s or -h options.
-t timeout
Wait timeout seconds for response. Default 1.
-b bandwidth
Output throttling. Slow down output so that it uses no more that bandwidth bps. Useful on slow links, so that ougoing queries don't get dropped.
Use local port 137 for scans. Win95 boxes respond to this only. You need to be root to use this option.
Suppress banners and error messages.
-s separator
Script-friendly output. Don't print column and record headers, separate fields with separator.
Print human-readble names for services. Can only be used with -v option.
-m retransmits
Number of retransmits. Default 0.
-f filename
Take IP addresses to scan from file "filename"
What to scan. Can either be single IP like or range of addresses in one of two forms: xxx.xxx.xxx.xxx/xx or xxx.xxx.xxx.xxx-xxx.


Report bugs to [email protected] (that's autor of nbtscan). I cannot promise to do anything but I might well want fix it. Remember: no warranty. At least it's worth what you payed for it.


This manual page was written by Ryszard Lach [email protected] for the Debian GNU/Linux system (but may be used by others) and is based on nbtscan author's README file. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation.