diff --git a/modules/exploits/windows/local/wmi.rb b/modules/exploits/windows/local/wmi.rb index e57b010dbf..1ed8741ec9 100644 --- a/modules/exploits/windows/local/wmi.rb +++ b/modules/exploits/windows/local/wmi.rb @@ -82,6 +82,7 @@ class Metasploit3 < Msf::Exploit::Local payload_instance.arch.first, { :remove_comspec => true, + :encode_inner_payload => true, :use_single_quotes => true }) chunks = split_code(psh, 1000)