Filed vs Failed fix

bug/bundler_fix
C-P 2015-03-27 11:28:50 -07:00
parent 48484c1f09
commit f129347b51
1 changed files with 1 additions and 1 deletions

View File

@ -232,7 +232,7 @@ class Metasploit3 < Msf::Exploit::Local
@addresses = disclose_addresses(my_target) @addresses = disclose_addresses(my_target)
if @addresses.nil? if @addresses.nil?
session.railgun.kernel32.CloseHandle(handle) session.railgun.kernel32.CloseHandle(handle)
fail_with(Failure::Unknown, "Filed to disclose necessary addresses for exploitation. Aborting.") fail_with(Failure::Unknown, "Failed to disclose necessary addresses for exploitation. Aborting.")
else else
print_good("Addresses successfully disclosed.") print_good("Addresses successfully disclosed.")
end end