Skip to content

Commit 064ca2d

Browse files
author
Jay Smith
committed
Updated version checking
1 parent 37c0812 commit 064ca2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/exploits/windows/local/ms14_070_tcpip_ioctl.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def check
7575
major, minor, build, revision, branch = file_version(file_path)
7676
vprint_status("tcpip.sys file version: #{major}.#{minor}.#{build}.#{revision} branch: #{branch}")
7777

78-
if ("#{major}.#{minor}.#{build}.#{revision}.#{branch}" == "5.2.3790.4573.45")
78+
if ("#{major}.#{minor}.#{build}" == "5.2.3790" && "#{revision}" < 5440)
7979
return Exploit::CheckCode::Vulnerable
8080
end
8181

0 commit comments

Comments
 (0)