Use double quote for xml strings

bug/bundler_fix
jvazquez-r7 2014-09-12 13:18:48 -05:00
parent 2a4d73ee35
commit 12f949781a
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ class Metasploit3 < Msf::Auxiliary
nouns.each do |n|
begin
data_parts = []
data_parts << '<?xml version=\'1.0\' encoding=\'utf-8\'?>'
data_parts << '<?xml version="1.0" encoding="utf-8"?>'
data_parts << "<soap:Envelope xmlns:xsi=\"#{datastore['XMLINSTANCE']}\" xmlns:xsd=\"#{datastore['XMLSCHEMA']}\" xmlns:soap=\"#{datastore['XMLSOAP']}\">"
data_parts << '<soap:Body>'
data_parts << "<#{v}#{n} xmlns=\"#{datastore['XMLNAMESPACE']}\">"