Re: [Plugins-writers] Checking NAV

From: Renaud Deraison (deraison@private)
Date: Mon Jan 03 2005 - 05:16:44 PST


On Mon, Jan 03, 2005 at 09:26:28AM +0200, Uri Gilad wrote:
> This question is relevant for other things I am considering with nessus:
> = Can nessus plugins include an outside file, and parse it's contents ?

You'd need a signed script, but yes, using the 'fread()' function.
(Nessus 2.2.1 or newer).

ie:

buffer = fread("/etc/passwd");


You'll need to run the script using the -X option for the nasl
interpretor, and set the option "nasl_no_signature_check" to "yes" in
nessusd.conf.

				-- Renaud
_______________________________________________
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 Jan 03 2005 - 05:33:22 PST