Skip to content

Commit 12f9497

Browse files
committed
Use double quote for xml strings
1 parent 2a4d73e commit 12f9497

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/auxiliary/scanner/http/soap_xml.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ def run_host(ip)
130130
nouns.each do |n|
131131
begin
132132
data_parts = []
133-
data_parts << '<?xml version=\'1.0\' encoding=\'utf-8\'?>'
133+
data_parts << '<?xml version="1.0" encoding="utf-8"?>'
134134
data_parts << "<soap:Envelope xmlns:xsi=\"#{datastore['XMLINSTANCE']}\" xmlns:xsd=\"#{datastore['XMLSCHEMA']}\" xmlns:soap=\"#{datastore['XMLSOAP']}\">"
135135
data_parts << '<soap:Body>'
136136
data_parts << "<#{v}#{n} xmlns=\"#{datastore['XMLNAMESPACE']}\">"

0 commit comments

Comments
 (0)