Skip Menu |

This queue is for tickets about the Nmap-Scanner CPAN distribution.

Report information
The Basics
Id: 64351
Status: new
Priority: 0/
Queue: Nmap-Scanner

Owner: Nobody in particular
Requestors: eponymousalias [...]

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)

Subject: vendor field needs entity encoding
Date: Thu, 30 Dec 2010 14:24:54 -0800 (PST)
To: bug-Nmap-Scanner [...]
From: eponymous alias <eponymousalias [...]>
Download (untitled) / with headers
text/plain 701b
The Nmap/Scanner/ and Nmap/Scanner/OS/ files in the 1.0 release need to have HTML::Entities::encode_entities() applied to the "vendor" field when XML is being generated. We have seen the following output from nmap: <osclass type="media device" vendor="AT&amp;T" osfamily="Windows" osgen="PocketPC/CE" accuracy="100" /> which is properly parsed by Nmap::Scanner, with the vendor field value ending up as "AT&T". That is correct internally within the package, but when it is XMLified, the current Nmap::Scanner code is emitting: <osclass type="media device" vendor="AT&T" osfamily="Windows" osgen="PocketPC/CE" accuracy="100" /> which is not valid XML.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to