Skip to content

Commit

Permalink
Land #19721, Fix version in CVE-2020-0668 module
Browse files Browse the repository at this point in the history
Fix version check for cve-2020-0668 Service Tracing
  • Loading branch information
msutovsky-r7 authored Dec 13, 2024
2 parents 985444e + 48ed31f commit ab55286
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,6 @@ def exploit

# start file copy
rastapi_privileged_filecopy(payload_dll, exploit_dir, upload_payload_pathname, target_payload_pathname)

# launch trigger
launch_dll_trigger
print_warning("Manual cleanup after reboot required for #{target_payload_pathname} and #{exploit_dir}")
Expand All @@ -285,8 +284,7 @@ def validate_target
end

version_info = get_version_info
vprint_status("Version: #{version_info.number}")
unless version_info.build_version.between?(Msf::WindowsVersion::Win10_1803, Msf::WindowsVersion::Win10_1909)
unless version_info.build_number.between?(Msf::WindowsVersion::Win10_1803, Msf::WindowsVersion::Win10_1909)
fail_with(Failure::NotVulnerable, 'The exploit only supports Windows 10 build versions 17134-18363')
end
end
Expand Down

0 comments on commit ab55286

Please sign in to comment.