Projects / Ruby Nmap::Parser Library

Ruby Nmap::Parser Library

Ruby Nmap::Parser 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.

Operating Systems

Recent releases

  •  02 Jun 2010 05:15

    Release Notes: XML parsing was made faster. Callback support was added. Many new features and bugfixes were added.

    •  09 Feb 2009 03:06

      Release Notes: This release fixes a state matching bug in methods like tcp_ports() in which a specified state would sometimes match an unrelated one. Now these methods properly match all states exactly as well as combinations like "open|filtered", as they should. parsestring() has been added to parse a string of XML data. A compare method has been added to ExtraPorts and Traceroute::Hop. scan_time in ::Session has been updated to use the new "elapsed" attribute. Exception messages raised by the library are improved. There are many documentation and general code improvements.

      •  02 Jan 2009 07:17

        Release Notes: Port specification parsing code was enhanced. The newer starttime and endtime host attributes (individual host scan times) were added to ::Host. The newer scanflags scaninfo attribute was added as scanflags() in ::Session for printing the scanflags associated with the specified scan type (e.g. "PSHACK" for scan type "ack"). Various implementation reworkings were done. Many documentation updates were done.

        •  25 Apr 2008 05:33

          Release Notes: This release contains many important updates and bugfixes. All current users are urged to upgrade.

          •  05 Jan 2008 00:42

            Release Notes: This release fixes a bug that caused parsing to fail if OS detection was performed but neither -v nor -d were used when scanning.


            Project Spotlight


            A Fluent OpenStack client API for Java.


            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.