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|
|Operating Systems||OS Independent|
Release Notes: XML parsing was made faster. Callback support was added. Many new features and bugfixes were added.
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.
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.
Release Notes: This release contains many important updates and bugfixes. All current users are urged to upgrade.
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.