Skip to content

Commit 2b00020

Browse files
committed
Fix the minimum build number
This particular change looks like a mistake. Build 17134 (v1803) is the oldest that is supported.
1 parent 443bf12 commit 2b00020

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/exploits/windows/local/cve_2022_21882_win32k.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ def check
9999
build_num = sysinfo_value.match(/\w+\d+\w+(\d+)/)[0].to_i
100100
vprint_status("Windows Build Number = #{build_num}")
101101

102-
unless sysinfo_value =~ /10/ && (build_num >= 17043 && build_num <= 19044)
102+
unless sysinfo_value =~ /10/ && (build_num >= 17134 && build_num <= 19044)
103103
print_error('The exploit only supports Windows 10 versions 1803 - 21H2')
104104
return CheckCode::Safe
105105
end

0 commit comments

Comments
 (0)