Skip to content

Commit

Permalink
Refreshed service pack versions; added MS SQL 2017. Fixes nmap#1411
Browse files Browse the repository at this point in the history
  • Loading branch information
nnposter committed Dec 13, 2018
1 parent 434de73 commit dd75a8f
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions nselib/mssql.lua
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ SqlServerVersionInfo =
["^6%.0"] = "6.0", ["^6%.5"] = "6.5", ["^7%.0"] = "7.0",
["^8%.0"] = "2000", ["^9%.0"] = "2005", ["^10%.0"] = "2008",
["^10%.50"] = "2008 R2", ["^11%.0"] = "2012", ["^12%.0"] = "2014",
["^13%.0"] = "2016",
["^13%.0"] = "2016", ["^14%.0"] = "2017",
}

local product = ""
Expand Down Expand Up @@ -371,7 +371,8 @@ SqlServerVersionInfo =
{1063, "SP4"},
},

["2000"] = { {194, "RTM"},
["2000"] = {
{194, "RTM"},
{384, "SP1"},
{532, "SP2"},
{534, "SP2"},
Expand Down Expand Up @@ -409,17 +410,24 @@ SqlServerVersionInfo =
{3000, "SP1"},
{5058, "SP2"},
{6020, "SP3"},
{7001, "SP4"},
},

["2014"] = {
{2000, "RTM"},
{4100, "SP1"},
{5000, "SP2"},
{6024, "SP3"},
},

["2016"] = {
{1601, "RTM"},
{4001, "SP1"},
{5026, "SP2"},
},

["2017"] = {
{1000, "RTM"},
},
}

Expand Down

0 comments on commit dd75a8f

Please sign in to comment.