Hey Hey,


I guess this is bumping a thread, but meh.

I had to add some functionality to PyScan for the college so that it would return the computer name. I was going to use the smb.py and nmb.py modules but then I found nbtscan from http://www.unixwiz.net/tools/nbtscan.html which works better than anything I could ever code. So I've just made calls to the executable. nbtscan is available for both Windows and Linux, so as long as you have nbtscan (nbtscan.exe in windows) in your path, you will have no problems. Anyways here it is with NetBIOS name resolution abilities

Peace,
HT

PS. I've included the binaries for nbtscan for both Windows and Linux. Unfortunately the author hasn't released the source code for these apps.

[Edit]
Small Code Change
[/Edit]