File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
modules/exploits/windows/local Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -94,10 +94,9 @@ def check
94
94
return Exploit ::CheckCode ::Safe if build == 9600
95
95
96
96
if arch == ARCH_X86
97
- return Exploit ::CheckCode ::Vulnerable if [ 2600 , 3790 , 7600 ] . include? ( build )
98
- return Exploit ::CheckCode ::Vulnerable if revision <= 18577
97
+ return Exploit ::CheckCode ::Detected if [ 2600 , 3790 , 7600 , 7601 ] . include? ( build )
99
98
else
100
- return Exploit ::CheckCode ::Vulnerable if build == 7601 && revision <= 18577
99
+ return Exploit ::CheckCode ::Detected if build == 7601
101
100
end
102
101
103
102
return Exploit ::CheckCode ::Unknown
@@ -108,7 +107,7 @@ def exploit
108
107
fail_with ( Exploit ::Failure ::None , 'Session is already elevated' )
109
108
end
110
109
111
- if check != Exploit ::CheckCode ::Vulnerable
110
+ if check == Exploit ::CheckCode ::Safe
112
111
fail_with ( Exploit ::Failure ::NotVulnerable , "Exploit not available on this system." )
113
112
end
114
113
You can’t perform that action at this time.
0 commit comments