Re: [Plugins-writers] nessus config params available for plugins?

From: George A. Theall (theall@private)
Date: Thu Aug 11 2005 - 12:18:20 PDT


On Wed, Aug 10, 2005 at 04:28:56PM +0200, Jan-Oliver Wagner wrote:

> I would love to see a plugin that produces a security
> note or warning in the case when nasl_no_signature_checks
> has been enabled. Similar to the plugin that
> warns if you only have gpl feed.
> 
> Are the config parameters of nessusd easily available
> for nasl plugins?

I'm pretty sure they're not. You could do this, though, with pread(); eg,

  buf = pread(cmd:"nessusd", argv:make_list("nessusd", "-s"));
  if ("nasl_no_signature_check = yes" >< buf) {
    security_note("nasl_no_signature_checks is enabled!");
  }

But then you'd either need to sign it using the nessus.org private key
or enable the parameter. :-)

George
-- 
theall@private
_______________________________________________
Plugins-writers mailing list
Plugins-writers@private
http://mail.nessus.org/mailman/listinfo/plugins-writers



This archive was generated by hypermail 2.1.3 : Thu Aug 11 2005 - 12:18:45 PDT