Nmap Announce mailing list archives

Re: Perl module wrappers for nmap


From: "James D. Levine" <levine () vinecorp com>
Date: Tue, 13 Nov 2001 10:47:21 -0800 (PST)




There's also the perl libraries from my NDiff.  I'm not sure
what your intended use is but it's probably worth a look.

http://www.vinecorp.com/ndiff

These have been around as part of NDiff for something like
a year and a half, and are probably the most mature of existing
perl interfaces to nmap.

As far as I know, they are only being used as part of NDiff.  I
haven't put much effort into formalizing the interfaces for
public use, but if there's interest that can change.

Regards,
James

Here's the overview of the perl modules-


PortScan::PortSpec     a discovered port, its properties
PortScan::ScannedHost  a discovered host, properties, known ports
PortScan::ScanSet      set of discovered hosts, ports scanned across it

PortScan::DataStore    base class abstraction of some nmap data store
PortScan::NmapFile     a DataStore subclass which reads/writes nmap files

PortScan::IPAddress.pm  static utility methods for manipulating addresses
PortScan::ScanComparison  comparison of two scans of the same host

PortScan::ScanContext   generic mapping facility for user settings
PortScan::SetOps        static set operations used by ndiff




On Tue, 13 Nov 2001, Max wrote:

Hi,

   Last year I expressed a wish that nmap would be made into a library
that could be accessed through perl via the C XS interface ... had a
few people that said they would like that but no one on the list
(including me) seemed to have the expertise needed to do it ... well ...
I don't (still) have time to learn XS :( .. but ...

I have made some perl class wrappers for nmap.  After doing these I saw on
the nmap web site that rain forest puppy has done some perl code to
wrap nmap but the site was down :( so I could not check it out ...

I will be submitting my module set to CPAN ... barring Fyodor saying
"no way" ...


 -------------------------------------------------------------------
 James Levine                                       jdl () vinecorp com
 Vine Consulting, Inc.                     toll-free: (877) 229-7836
 1669-2 Hollenbeck Ave #175                alternate: (408) 984-4070
 Sunnyvale, CA 94087                             fax: (877) 882-0908
 www.vinecorp.com  AEED 3EB5 65C2 5307 129B B3F0 C853 CF73 E865 4E97
 -------------------------------------------------------------------




--------------------------------------------------
For help using this (nmap-hackers) mailing list, send a blank email to 
nmap-hackers-help () insecure org . List run by ezmlm-idx (www.ezmlm.org).


Current thread: