Nmap/Parser/XML version 0.71 ============================ nmap output parser in perl This module is intended to sift through the nmap scan outputs in xml form, either by passing a filehandle that is being piped from a current nmap scan or using an xml filename that is formatted as the output of nmap when using the '-oX file.xml' command line option. It uses the XML::Twig library, which is memory efficient and fast. In the authors opinion, this module is very easy to use to extract information from an nmap xml scan output about the scan itself and the hosts that were scanned. I am trying to balance efficiency with ease of use. If you think something can be done differently send your feedback. INSTALLATION Latest version: http://search.cpan.org/~apersaud/Nmap-Parser-XML/ Website: http://www.public.iastate.edu/~ironstar/Nmap-Parser-XML/ Download the file and unpack. This is usually done by: tar xvf Nmap-Parser-XML-x.xx.tar.gz Next change into the newly created directory. To install this module type the following: perl Makefile.PL make make test make install DEPENDENCIES This module requires these other modules and libraries: XML::Twig 3.0+ In addition, you will need nmap 3.00+. You don't exactly need it, but this version of nmap supports the xml output that this module can parse. So, you do not really need the executable, but the xml output that you will be parsing (or able to parse), must be from this version onward. CHANGES Changes from 0.68 to 0.71 - fixed a small bug in the installation under MSWin32 (PM_FILTER) which caused all tests to fail. (It was removing things that weren't comments. - updated documentation - fixed documentation bug of all the example scripts - updated examples script: they are more robust. Can either take the example file as input, or actually run scans. - new utility script : scan_host.pl - added EXAMPLES seciton in documentation - parses new 'version', 'extrainfo', and 'product' att from service tag (3.40+) - added *_service_version to *::Host - added xml_version to *::ScanInfo - more error prevention mechanisms - added os_osfamily, os_gen, os_vendor, os_type added - added OSINFO filter - ::ScanInfo::scan_types does not return number of scan types in scalar format. It will always return an array containing the scan types. - osfamily does not return the actual string (comma delimited), it always returns an array of os matches. - DEPRECATED: tcpsequence, ipidsequence, tcptssequence now use: tcpsequence_class, tcpsequence_values, tcpsequence_index ipidsequence_class, ipidsequence_values tcptssequence_class, tcptssequence_values FOR OTHER CHANGE INFORMATION SEE THE "CHANGES" FILE COPYRIGHT AND LICENCE Copyright (C) 2004 Anthony G Persaud http://www.opensource.org/licenses/gpl-license.php This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.