Nmap::Scanner: Easily create scripts that use nmap with perl!

# Nmap::Scanner

Easily create scripts that use nmap with perl!

Nmap::Scanner is a perl module that provides an object-oriented, programmatic interface to the nmap port scanning tool. It parses the output of nmap's "XML" format (`-oX`). Nmap::Scanner provides both batch-mode and event-driven usage models.

#### Nmap::Scanner and nmap 3.20 XML output bug If you are using nmap version 3.20 please read this! On Wed, 09 Apr 2003 13:28:35 PDT, NNNNN NNNNN wrote: > I'm using version 0.5 and seem to be having a small issue. I'm getting > each result twice. I messed up a patch I did to add the nmap XML <addport> output so the addport output line was added twice in the corresponding .c source file from nmap. Please use version 3.21 or LATER, which has the dup line removed. Sorry for the inconvenience.

#### Notes

- You must install nmap prior to using this module!
- Releases before version .5 parsed the 'normal' output from nmap. They were very unstable and are no longer available for download here, though they might still be found on CPAN.
- Nmap::Scanner requires nmap version 3.21 or later. I had to submit some very small patches for the XML output of nmap in order to get the same information the 'normal' mode emitted for port found events. Versions previous to 3.21 will most likely still work but 'port found' event functionality will be missing.
- This module set currently requires both XML::SAX and any XML::SAX conformant parser for the XML parsing to work; XML::SAX can be downloaded and installed from CPAN by hand or by using the CPAN perl module.

#### Downloads

Version | URL
--- | ---
0.8 | Nmap-Scanner-0.8.tar.gz [Release Notes]
0.7a | Nmap-Scanner-0.7a.tar.gz
0.6 | Nmap-Scanner-0.6.tar.gz

Have a question/suggestion/comment about Nmap::Scanner? Join the Nmap::Scanner mailing list, view the archives of the list, or use the Nmap::Scanner SourceForge project page tools.

Nmap::Scanner is also available via CPAN, the Comprehensive Perl Archive Network. New versions will appear here first so that they may be used and tested before going to the perl repository.