Updated version checking
parent
37c08128dc
commit
064ca2d02e
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue