From fcaef55faa7db4ec5540e766477e04c1c1ab1c60 Mon Sep 17 00:00:00 2001 From: HD Moore Date: Fri, 2 Dec 2011 02:02:55 -0600 Subject: [PATCH] Change the encapsulation method to allow multiple methods without conflict --- lib/msf/core/exploit/kernel_mode.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/msf/core/exploit/kernel_mode.rb b/lib/msf/core/exploit/kernel_mode.rb index dea13912d8..10af56f10e 100644 --- a/lib/msf/core/exploit/kernel_mode.rb +++ b/lib/msf/core/exploit/kernel_mode.rb @@ -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 \ No newline at end of file +end