Home page logo
/

nmap-dev logo Nmap Development mailing list archives

Re: Nmap as a library
From: Andreas Marschke <andreas.marschke () googlemail com>
Date: Tue, 17 Apr 2012 09:41:40 +0200

Hi Jonathan,

I have been looking into those and their alternatives on cpan (nmap::scanner) yet both of them feel rather unintuitive 
to use and not well integrated. And that beside the hope that nothing would change in the future with newer versions 
and/or the inclusion of new features in nmap not directly accessible through both of them spurred my interest in fixing 
this once and for all. 
-- 
Mit freundlichen Grüßen / Kind regards,

Andreas Marschke.



Jonathan Claudius <JClaudius () trustwave com> schrieb:

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 ]