Use single quotes

bug/bundler_fix
jvazquez-r7 2015-09-25 13:35:38 -05:00
parent a5698ebce0
commit e4e9609bc2
No known key found for this signature in database
GPG Key ID: 38D99152B9352D83
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ class Metasploit3 < Msf::Auxiliary
def build_soap
builder = ::Nokogiri::XML::Builder.new do |xml|
xml['SOAP-ENV'].Envelope("xmlns:SOAP-ENV" => 'http://schemas.xmlsoap.org/soap/envelope', 'SOAP-ENV:encodingStyle' => 'http://schemas.xmlsoap.org/soap/encoding/') do
xml['SOAP-ENV'].Envelope('xmlns:SOAP-ENV' => 'http://schemas.xmlsoap.org/soap/envelope', 'SOAP-ENV:encodingStyle' => 'http://schemas.xmlsoap.org/soap/encoding/') do
xml['SOAP-ENV'].Body do
xml['m'].send(soap_action, 'xmlns:m' => 'urn:schemas-upnp-org:service:WANIPConnection:1') do
case action.name