From 5b8b15e5784f301a78c73bb5e040f9e6315b1c5e Mon Sep 17 00:00:00 2001 From: William Webb Date: Wed, 27 Jul 2016 12:43:19 -0500 Subject: [PATCH] update global constants to allow for windows 10 --- lib/msf/core/constants.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/msf/core/constants.rb b/lib/msf/core/constants.rb index 2e2473fbe7..df2aa25378 100644 --- a/lib/msf/core/constants.rb +++ b/lib/msf/core/constants.rb @@ -88,6 +88,7 @@ module OperatingSystems SEVEN = "7" EIGHT = "8" EIGHTONE = "8.1" + TEN = "10.0" end UNKNOWN = "Unknown" @@ -108,6 +109,7 @@ module OperatingSystems WINDOWS_2012 = /^(?:Microsoft )?Windows 2012/ WINDOWS_8 = /^(?:Microsoft )?Windows 8/ WINDOWS_81 = /^(?:Microsoft )?Windows 8\.1/ + WINDOWS_10 = /^(?:Microsoft )?Windows 10/ LINUX = /^Linux/i MAC_OSX = /^(?:Apple )?Mac OS X/ @@ -138,4 +140,4 @@ LICENSES = BSD_LICENSE, ARTISTIC_LICENSE, UNKNOWN_LICENSE - ] \ No newline at end of file + ]