Updated version checking

bug/bundler_fix
Jay Smith 2015-01-28 18:25:30 -05:00
parent 37c08128dc
commit 064ca2d02e
No known key found for this signature in database
GPG Key ID: A10634475C298DBB
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ class Metasploit3 < Msf::Exploit::Local
major, minor, build, revision, branch = file_version(file_path) major, minor, build, revision, branch = file_version(file_path)
vprint_status("tcpip.sys file version: #{major}.#{minor}.#{build}.#{revision} branch: #{branch}") 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 return Exploit::CheckCode::Vulnerable
end end