Metasploit mailing list archives
Re: Error when importing Nmap XML
From: egypt () metasploit com
Date: Thu, 24 May 2012 10:52:31 -0600
Should be fixed in git (https://github.com/rapid7/metasploit-framework/commit/e88501789cdd113a8e4dfb861ea2ebd20a201be1). Thanks for the report egypt On Thu, May 24, 2012 at 9:54 AM, Sean Carolan <scarolan () gmail com> wrote:
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
_______________________________________________ https://mail.metasploit.com/mailman/listinfo/framework
Current thread:
- Error when importing Nmap XML Sean Carolan (May 24)
- Re: Error when importing Nmap XML Sean Carolan (May 24)
- Re: Error when importing Nmap XML egypt (May 24)
- Re: Error when importing Nmap XML Sean Carolan (May 24)