diff --git a/modules/exploits/linux/upnp/belkin_wemo_upnp_exec.rb b/modules/exploits/linux/upnp/belkin_wemo_upnp_exec.rb index 12b0c9b11a..3ebb4e61df 100644 --- a/modules/exploits/linux/upnp/belkin_wemo_upnp_exec.rb +++ b/modules/exploits/linux/upnp/belkin_wemo_upnp_exec.rb @@ -160,7 +160,7 @@ class MetasploitModule < Msf::Exploit::Remote - $(#{cmd}) + $(#{cmd.encode(xml: :text)})