Ruby Nmap::Parser Library




[ Overview | Documentation | Download | Packages | Trac | License ]

Overview

This library provides a Ruby interface to
Nmap's scan data. It can run Nmap and parse its XML output directly from the scan, parse a file containing the XML data from a separate scan, parse a String of XML data from a scan, or parse XML data from an object via its read() method. This information is presented in an easy-to-use and intuitive fashion for storage and manipulation.

Note that while Anthony Persaud's Perl Nmap::Parser was certainly an inspiration when designing this library, there are a number of distinguishing characteristics. Very briefly, this library contains more classes, many more methods, and has blocks extensively available.


Documentation

Detailed RDoc Documentation is
here.

Download

The current version is
0.3.5, available in several different formats.

You can also grab the latest from the Subversion repository:

$ svn co https://rubynmap.svn.sourceforge.net/svnroot/rubynmap/trunk

Or you can view it online here (Trac).

Packages

Note that there will always be a lag before new releases are available through any package systems.

Package System Command
RubyGems gem install nmap-parser
FreeBSD Ports (port) cd /usr/ports/security/rubygem-nmap-parser && make install clean
(package) pkg_add -r rubygem-nmap-parser

Trac

Trac is available
here.

Author

Kris Katterjohn
PGP Key: 0x399147EE

All other contributors are acknowledged in the project's changelog.

License


Copyright (c) 2007-2010 Kris Katterjohn

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

SF.net Logo