Re: [Plugins-writers] How to send an argument to a NASL plugin

From: George A. Theall (theall@private)
Date: Mon Mar 21 2005 - 08:00:07 PST


On Fri, Mar 18, 2005 at 04:53:24PM +0530, Akshat Choudhary
wrote:

> How do I send a value to the NASL plugin I want to execute
> as an argument either from the command-line

You can't.

> or the Nessus
> client?

You could declare a preference using script_add_preference()
in the script's description block and then, in the plugin
itself, access it using script_get_preference().

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 : Mon Mar 21 2005 - 08:01:48 PST