Nmap Announce mailing list archives
Announcement: Nmap::Scanner version 0.5 now available
From: "Max Schubert" <nmap () webwizarddesign com>
Date: Mon, 17 Feb 2003 22:02:17 -0500
Hi, Nmap::Scanner is a perl module set that captures nmap output as a set of perl objects. Version 0.5 should be significantly more stable than the previous two versions as I am now parsing the XML output from nmap instead of the "normal" output. I had to make some fairly major object model changes in order to use the XML format. The scripts in the examples/ directory show pretty clearly the changes that were made as do the perldocs in each object module. In previous releases I was attempting to translate all nmap switches into method calls. This was both tedious and maintenance unfriendly as new features are frequently added to nmap. The current version provides a much easier way to start a scan: use Nmap::Scanner; my $scanner = Nmap::Scanner->new(); my $results = $scanner->scan('-sS -p 1-1024 -0 -P80 localhost'); The next release will most likely not have the option methods .. e.g. for -sS .. $scan->tcp_syn_scan() As it means developers need to learn my translation of the short options which is neither fair nor useful ;). Additionally, I moved all of the Util classes into the examples/ directory except for BannerScanner.pm as they are not core to the parsing functionality. Only Nmap::Scanner::Util::BannerScanner remains as a base class which can be used to create banner scanners easily. Also, in order to get the most out of this release you should use nmap version 3.10ALPHA4 or newer as I had to contribute a few small XML output patches to nmap itself in order to be able to capture port found events using the XML output of nmap. Older versions (as far back as 2.54BETA32) should work with this module, but the port found events will not not be seen. The latest distribution can be found here: http://webwizarddesign.com/nmap/ I hope those of you that found the previous releases useful will also find this one useful, and more stable. As always, comments/feedback/criticisms are welcome. Regards, Max nmap -at- webwizarddesign -dot- com -------------------------------------------------- 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:
- Announcement: Nmap::Scanner version 0.5 now available Max Schubert (Feb 17)