Hi friends,
When I'm making some improvements in RadialNet/UmitMapper I see
that some attribute values in Nmap XML can't be correctly. This
happens because XML specification [0] for attributes don't permit
whitespaces when file is read. Below one example of the problem:
<a attr="line 1
line 2"/>
When read by a XML parser attr value is normalized to "line 1 line
2". To solve this we can change the '\t', '\r' and '\n' characters by
'	', '
' and '
', respectively. I think that this is only
necessary for output attribute of script and fingerprint of
osfingerprint.
[0] - http://www.w3.org/TR/2006/REC-xml-20060816/#AVNormalize
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org
Received on Dec 11 2007