[Nikto-discuss] Nikto::Parser 0.01 - Parse nikto scan data with Perl

Jabra jabra at spl0it.org
Sat Oct 17 20:45:59 UTC 2009


Hey guys,

I just wanted everyone to know that I have released Nikto::Parser
on CPAN. Nikto::Parser is a Perl module to parse nikto scan data
using XML.

Here is an example:

my $npx = new Nikto::Parser;
 my $parser = $npx->parse_file("nikto.xml");

 foreach my $h ( $parser->get_all_hosts() ) {
     print "ip: " . $h->ip . "\n";
     foreach my $p ( $h->get_all_ports() ) {
         print "port: " . $p->port . "\n";
         print "banner: " . $p->banner . "\n";
         foreach my $i ( $p->get_all_items ) {
             print "Description:\n" . $i->description . "\n";
         }
     }   
     print "---\n";
 }   


Please use the latest version of Nikto from svn.

http://search.cpan.org/~jabra/Nikto-Parser-0.01/lib/Nikto/Parser.pod

Comments, suggestions and patches welcome!!

Regards,
Jabra

-- 
Jabra < jabra at spl0it.org >
http://www.spl0it.org


More information about the Nikto-discuss mailing list