Nmap Development mailing list archives

[NSE] First draft of Windows Version Table library


From: Alex Weber <alexwebr () gmail com>
Date: Sat, 25 Aug 2012 03:02:42 -0500

Hey list,

I took a crack at the Windows Version Table function suggested by the wiki,
implemented as a library.
Usage:
local winver = require("winver")
winver.get_name("6.0.5048") => "Windows Longhorn"

Relies on a file placed in nselib/data/ called windows_versions.lua - Most
of the data came from the website linked to on the wiki. This is just a
first go at it - please give some feedback if you have ideas on how to
extend the functionality. I could only think of one useful function
(get_name), and I'd like to add to it before it's committed. I was thinking
of a 'fuzzy match' function? I'm not sure how useful that would be.

Thanks,

-Alex

Attachment: winver.lua
Description:

Attachment: windows_versions.lua
Description:

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/

Current thread: