diff --git a/modules/exploits/windows/local/ms14_070_tcpip_ioctl.rb b/modules/exploits/windows/local/ms14_070_tcpip_ioctl.rb index 374a4da438..e0d53d694e 100644 --- a/modules/exploits/windows/local/ms14_070_tcpip_ioctl.rb +++ b/modules/exploits/windows/local/ms14_070_tcpip_ioctl.rb @@ -75,7 +75,7 @@ class Metasploit3 < Msf::Exploit::Local major, minor, build, revision, branch = file_version(file_path) vprint_status("tcpip.sys file version: #{major}.#{minor}.#{build}.#{revision} branch: #{branch}") - if ("#{major}.#{minor}.#{build}.#{revision}.#{branch}" == "5.2.3790.4573.45") + if ("#{major}.#{minor}.#{build}" == "5.2.3790" && "#{revision}" < 5440) return Exploit::CheckCode::Vulnerable end