Nmap Security Scanner
*Intro
*Ref Guide
*Install Guide
*Download
*Changelog
*Book
*Docs
Security Lists
*Nmap Hackers
*Nmap Dev
*Bugtraq
*Full Disclosure
*Pen Test
*Basics
*More
Security Tools
*Pass crackers
*Sniffers
*Vuln Scanners
*Web scanners
*Wireless
*Exploitation
*Packet crafters
*More
Site News
Site Search:
Exploit World
Advertising
About/Contact
Credits
Sponsors:
edgeos



Nmap Development: Re: Attributes error in nmap XML output

Re: Attributes error in nmap XML output

From: Max <nmap_at_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.

Regards,
Max

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
Received on May 17 2004

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