Ruby Nmap::Parser Library 0.2 (Default branch)


 
Thread Tools Search this Thread
Special Forums News, Links, Events and Announcements Software Releases - RSS News Ruby Nmap::Parser Library 0.2 (Default branch)
# 1  
Old 01-04-2008
Ruby Nmap::Parser Library 0.2 (Default branch)

Ruby Nmap::Parser Library provides a Rubyinterface to Nmap's scan data. It can run Nmap andparse its XML output directly from the scan, parsea file containing the XML data from a separatescan, or parse a string of XML data from a scan.This information is presented in a (hopefully)easy to use fashion for storing and manipulation.License: MIT/X Consortium LicenseChanges:
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.Image

More...
Login or Register to Ask a Question

Previous Thread | Next Thread
Login or Register to Ask a Question
DumpXML::Parser(3pm)					User Contributed Perl Documentation				      DumpXML::Parser(3pm)

NAME
Data::DumpXML::Parser - Restore data dumped by Data::DumpXML SYNOPSIS
use Data::DumpXML::Parser; my $p = Data::DumpXML::Parser->new; my $data = $p->parsefile(shift || "test.xml"); DESCRIPTION
"Data::DumpXML::Parser" is an "XML::Parser" subclass that can recreate the data structure from an XML document produced by "Data::DumpXML". The parserfile() method returns a reference to an array of the values dumped. The constructor method new() takes a single additional argument to that of "XML::Parser": Blesser => CODEREF A subroutine that is invoked to bless restored objects. The subroutine is invoked with two arguments: a reference to the object, and a string containing the class name. If not provided, the built-in "bless" function is used. For situations where the input file cannot necessarily be trusted and blessing arbitrary Classes might give malicious input the ability to exploit the DESTROY methods of modules used by the code, it is a good idea to provide a no-op blesser: my $p = Data::DumpXML::Parser->new(Blesser => sub {}); SEE ALSO
Data::DumpXML, XML::Parser AUTHOR
Copyright 2001 Gisle Aas. This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.8.8 2006-04-08 DumpXML::Parser(3pm)