Update bypassuac_sluihijack.rb

GSoC/Meterpreter_Web_Console
gushmazuko 2018-05-23 12:25:49 +02:00 committed by GitHub
parent 6b1abba6c8
commit 3ef6f82894
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -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