Land #6923, Check the correct check code for ms13_081_track_popup_menu
commit
fb678564b1
|
@ -89,7 +89,7 @@ class MetasploitModule < Msf::Exploit::Local
|
|||
fail_with(Failure::None, 'Session is already elevated')
|
||||
end
|
||||
|
||||
if check != Exploit::CheckCode::Vulnerable
|
||||
if check == Exploit::CheckCode::Safe
|
||||
fail_with(Failure::NotVulnerable, "Exploit not available on this system.")
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue