Home page logo
/

nmap-dev logo Nmap Development mailing list archives

Re: Nmap as a library
From: Jonathan Claudius <JClaudius () trustwave com>
Date: Mon, 16 Apr 2012 22:17:47 -0500

Andreas,

Have you looked into the NMAP::Parser libs for either Perl or Ruby?

I've been using the Ruby version for some time with little to no problems with parsing.

-Jonathan

Sent from my iPhone

On Apr 16, 2012, at 8:21 PM, "Andreas Marschke" <andreas.marschke () googlemail com> wrote:

Dear list readers and nmap developers,

I have been toying around with the idea of using nmap for managing new assets on my network or getting data of newly 
created hosts.

Now, I'm a perl programmer and would like to do tgis from within perl. But doing execs and parsing output (even 
though it is xml) is rather difficult and prone to fail once a version change has happend and the output has changed 
from one space to 2 or voce versa or otherwise.

Perl has a nice way of including c or c++ application libraries. They link against them using XS or SWIG.

Would it be possible to make a library out of nmap with only the nmap binary as a wrapping console application around 
it?

--
Mit freundlichen Grüßen / Kind regards,

Andreas Marschke.
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/

This transmission may contain information that is privileged, confidential, and/or exempt from disclosure under 
applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, 
distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If 
you received this transmission in error, please immediately contact the sender and destroy the material in its 
entirety, whether in electronic or hard copy format.
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/

  By Date           By Thread  

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