Change the encapsulation method to allow multiple methods without

conflict
unstable
HD Moore 2011-12-02 02:02:55 -06:00 committed by David Maloney
parent e72dad4e81
commit fcaef55faa
1 changed files with 3 additions and 3 deletions

View File

@ -13,7 +13,7 @@ module Exploit::KernelMode
super
reqs['EncapsulationRoutine'] = Proc.new { |reqs_, raw|
encapsulate_payload(reqs_, raw)
encapsulate_kernel_payload(reqs_, raw)
}
end
@ -30,7 +30,7 @@ protected
#
# Encapsulates the supplied raw payload within a kernel-mode payload.
#
def encapsulate_payload(reqs, raw)
def encapsulate_kernel_payload(reqs, raw)
new_raw = nil
ext_opt = reqs['ExtendedOptions'] || {}
@ -63,4 +63,4 @@ protected
end
end
end