Skip to content

Commit f2a608b

Browse files
committed
Land rapid7#7152, update global constants to allow for windows 10
2 parents af137f3 + 5b8b15e commit f2a608b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/msf/core/constants.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ module WindowsVersions
8888
SEVEN = "7"
8989
EIGHT = "8"
9090
EIGHTONE = "8.1"
91+
TEN = "10.0"
9192
end
9293

9394
UNKNOWN = "Unknown"
@@ -108,6 +109,7 @@ module Match
108109
WINDOWS_2012 = /^(?:Microsoft )?Windows 2012/
109110
WINDOWS_8 = /^(?:Microsoft )?Windows 8/
110111
WINDOWS_81 = /^(?:Microsoft )?Windows 8\.1/
112+
WINDOWS_10 = /^(?:Microsoft )?Windows 10/
111113

112114
LINUX = /^Linux/i
113115
MAC_OSX = /^(?:Apple )?Mac OS X/
@@ -138,4 +140,4 @@ module Match
138140
BSD_LICENSE,
139141
ARTISTIC_LICENSE,
140142
UNKNOWN_LICENSE
141-
]
143+
]

0 commit comments

Comments
 (0)