Skip to content

Commit 9574a32

Browse files
committed
use the new check also in exploit()
1 parent 3c38c0d commit 9574a32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/exploits/windows/local/ms14_009_ie_dfsvc.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ def exploit
147147

148148
mscorlib_version = get_mscorlib_version
149149

150-
unless mscorlib_version < NET_VERSIONS[net_version]["mscorlib"]
150+
unless valid_mscorlib_version?(net_version, mscorlib_version)
151151
fail_with(Failure::NotVulnerable, ".NET Installation not vulnerable")
152152
end
153153

0 commit comments

Comments
 (0)