Skip to content

Commit c7366b4

Browse files
author
HD Moore
committed
Fix a small typo in the regex
1 parent 583dab6 commit c7366b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/msf/core/constants.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,12 +110,12 @@ module Match
110110
WINDOWS_81 = /^(?:Microsoft )?Windows 8\.1/
111111

112112
LINUX = /^Linux/i
113-
MAC_OSX = /^(Apple )?Mac OS X/
113+
MAC_OSX = /^(?:Apple )?Mac OS X/
114114
FREEBSD = /^FreeBSD/
115115
NETBSD = /^NetBSD/
116116
OPENBSD = /^OpenBSD/
117117
VMWARE = /^VMware/
118-
ANDROID = /^(?Google )?Android/
118+
ANDROID = /^(?:Google )?Android/
119119
APPLE_IOS = /^(?:Apple )?iOS/
120120
end
121121
end

0 commit comments

Comments
 (0)