Firstly, i think there's no such a thing like non windows-IP, maybe you mean non-windows (microsoft) OS ?
I tried that script from my client( 192.168.0.2,linux SuSe) and my destination host is 192.168.0.1 (win xp sp2), the first try, script looks like got hang, so i look closer at my ethereal, and i can say that 'the packet netbios query' is sent successfully, but no response from 192.168.0.1.
Then i turn off my xp sp2 firewall, try the script again, and i got the response (success !), here's the log (only the summary) :
Got something back: Total of 6 replies LJWT-1C2E2BF3 <0x00> <0x04> UNIQUE Workstation Service WORKGROUP <0x00> <0x84> UNIQUE Workstation Service LJWT-1C2E2BF3 <0x20> <0x04> UNIQUE File Server Service WORKGROUP <0x1E> <0x84> UNIQUE WORKGROUP <0x1D> <0x04> UNIQUE Master Browser __MSBROWSE__ <0x01> <0x84> UNIQUE Messenger Service Mac address: 00:xx:xx:xx
But, i am just curious, are you trying to nbtstat non windows OS, like linux box ? i mean are you trying to do something like this :
perl nbtstat.pl <linux box> ?
As far as i know NETBIOS is only (designed) for microsoft windows, but i am just not sure, maybe this answer is just another question..
But i am sure that this script is designed for microsoft windows as destination address
In reply to Re: nbtstat.pl fails for non-windows IP
by doctor_moron
in thread nbtstat.pl fails for non-windows IP
by sgrey
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |