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.

Tags Internet Log Analysis Security Networking Monitoring
Licenses MIT/X
Operating Systems OS Independent
Implementation Ruby

Tweet this project Short link

Rss Recent releases

  • Rrelease-mid
  •  09 Feb 2009 03:06
  • Rrelease-after

Changes: 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.

  • Rrelease-mid
  •  02 Jan 2009 07:17
  • Rrelease-after

Changes: 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.

  • Rrelease-mid
  •  24 Apr 2008 22:33
  • Rrelease-after

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

  • Rrelease-mid
  •  04 Jan 2008 16:42
  • Rrelease-after

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

  • Rrelease-mid
  •  03 Jan 2008 15:36
  • Rrelease-after

Changes: This release fixes a bug (typo) with the read accessor for the MAC address information in ::Host (mac_addr and mac_vendor). It adds extraports information via the ::Host::ExtraPorts class. It adds devicetype, ostype, and the RPC lowver and highver to ::Host::Port::Service. It has updated and reworded documentation.

3540ed7e89e86526a6834914cbdd92c2_thumb

Project Spotlight

pam_csync

A PAM module for roaming home directories.

204fac2af2b3214f5a9cabe03bf08ea5_thumb

Project Spotlight

Scalpel Sound Editor

A simple sound editor for Linux.