Update bypassuac_sluihijack.rb
parent
6b1abba6c8
commit
3ef6f82894
|
@ -67,9 +67,9 @@ class MetasploitModule < Msf::Exploit::Local
|
||||||
|
|
||||||
def check
|
def check
|
||||||
if sysinfo['OS'] =~ /Windows (8|10)/ && is_uac_enabled?
|
if sysinfo['OS'] =~ /Windows (8|10)/ && is_uac_enabled?
|
||||||
Exploit::CheckCode::Appears
|
CheckCode::Appears
|
||||||
else
|
else
|
||||||
Exploit::CheckCode::Safe
|
CheckCode::Safe
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -165,7 +165,7 @@ class MetasploitModule < Msf::Exploit::Local
|
||||||
|
|
||||||
handler(client)
|
handler(client)
|
||||||
|
|
||||||
print_status("Cleaining up registry keys ...")
|
print_status("Cleaining ...")
|
||||||
unless exist_delegate
|
unless exist_delegate
|
||||||
registry_deleteval(SLUI_WRITE_KEY, EXEC_REG_DELEGATE_VAL, registry_view)
|
registry_deleteval(SLUI_WRITE_KEY, EXEC_REG_DELEGATE_VAL, registry_view)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue