nbtstat.pl is a simple Perl script that provides the basic functionality of the nbtstat utility that is available on Windows. It grabs the NetBIOS name table from a remote machine. This is a Perl port of eSDee’s nbtstat.c (http://www.netric.org/tools.htm), written with portability in mind. It only requires Perl and the IO::Socket module.
You can download it from the following link: https://packetstormsecurity.com/files/download/33444/nbtstat.pl
Source: https://packetstormsecurity.com/files/33444/nbtstat.pl.html

