Dave King wrote: > Net::Nessus does not currently support notes. It shouldn't be all that > hard to add it, I haven't looked at it. One option may be to use the > ntp_client_accepts_notes preference. Where would this pref be set ? In the nessusd.conf on the nessus server or as a preference within the script using net::nessus ?
I haven't looked at modifying Net::Nessus::Message though... TIA... > Another option I once used to > solve this problem is to treat notes as info's. It's kind of a kludge > but it worked for what I needed it to do. For example I believe > something like this would work in Net::Nessus::Message about line 140: > > my $class = (ref($self) or $self); > $class =~ s/^\b(Client|Server)\b/Message/; > #####START ADDED > $type =~ s/NOTE/INFO/; > #####DONE WITH ADDED > $class .= "::$type"; > $class->new($sock, $sender, $type, [EMAIL PROTECTED]); > > Doing this should let all the NOTEs come through as INFOs, and may be > good enough to get you through until Net::Nessus is updated (which is > hasn't been for a couple of years). > > Hope this helps some, > Laters, > Dave King > > > Ricardo M. Stella wrote: > >> I've recently upgraded our nessus server from 2.2.5 to 3.0.2. But we've >> got now some incompatibilities when using Net::Nessus (actually we use a >> package Net::Nessus::ScanLite which depends on Net::Nessus). >> >> This is the error we are getting (apache mod-perl). >> >> Any ideas where to start and/or who to contact ? >> >> TIA... >> >> [Wed Apr 26 12:50:27 2006] [error] Can't locate object method "new" via >> package "Net::Nessus::Message::NOTE" (perhaps you forgot to load >> "Net::Nessus::Message::NOTE"?) at >> /usr/local/lib/perl5/site_perl/5.8.5/Net/Nessus/Message.pm line 139, >> <DATA> line 283.\n >> >> >> >> >> -- °(((=((===°°°(((===========================================
begin:vcard fn:Ricardo Stella n:Stella;Ricardo org:Rider University adr;dom:;;2083 Lawrenceville Rd;Lawrenceville;NJ;08648 version:2.1 end:vcard
_______________________________________________ Nessus mailing list [email protected] http://mail.nessus.org/mailman/listinfo/nessus
