Home page logo

nmap-dev logo Nmap Development mailing list archives

Re: Attributes error in nmap XML output
From: "Max" <nmap () webwizarddesign com>
Date: Mon, 17 May 2004 18:30:22 +0500

    Slight correction on the perl filter:

    perl -p -e 's/=("[^=]+=)"([^"]+)"\s/=$1'"'"'$2'"'"'/g'

    Sorry about the too hasty post.


On Mon, 17 May 2004 17:02:41 CDT, Thomas Buchanan wrote:
I'm working on a fairly simple application that parses the XML output 
from nmap using libxml2.  I have run into a problem with attributes in 
the output of services that use SSL detection.  The tablemethod or 
probedmethod attributes of these service tags contains tunnel="ssl". 
The quotes around ssl seem to be causing the problem.  Here is an example:
<service name="https" tablemethod="tunnel="ssl" " conf="3" />

When running xmllint (from the libxml2 package) these tags generate a 
attributes construct error, which prevents my application from parsing 
them correctly.  I would appreciate any help is working around this issue.

For help using this (nmap-dev) mailing list, send a blank email to 
nmap-dev-help () insecure org . List archive: http://seclists.org

  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]