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