Metasploit mailing list archives

Re: Error when importing Nmap XML


From: Sean Carolan <scarolan () gmail com>
Date: Thu, 24 May 2012 10:54:18 -0500

On Thu, May 24, 2012 at 10:31 AM, Sean Carolan <scarolan () gmail com> wrote:
Any idea what this error might mean?  Could it be because we used nmap
6 to generate the output?

Through experimentation I've found that the problem seems to be in the
'osmatch' section.  If I delete everything between the
<osmatch></osmatch> tags, the import works.  Here's some example data
where it seems to choke.

<osmatch name="Apple Mac OS X 10.5 - 10.6.8 (Leopard - Snow Leopard)
(Darwin 9.0.0b5 - 10.8.0) or iOS 4.0 - 4.2.1" accuracy="100"
line="3221">
<osclass type="phone" vendor="Apple" osfamily="iOS" osgen="4.X"
accuracy="100"><cpe>cpe:/o:apple:iphone_os:4</cpe></osclass>
<osclass type="media device" vendor="Apple" osfamily="iOS" osgen="4.X"
accuracy="100"><cpe>cpe:/o:apple:iphone_os:4</cpe></osclass>
<osclass type="general purpose" vendor="Apple" osfamily="Mac OS X"
osgen="10.6.X" accuracy="100"><cpe>cpe:/o:apple:mac_os_x:10.6</cpe></osclass>
</osmatch>
_______________________________________________
https://mail.metasploit.com/mailman/listinfo/framework


Current thread: