Re: [Plugins-writers] need some help

From: Michel Arboi (mikhail@private)
Date: Sat Dec 18 2004 - 05:32:06 PST


On Fri Dec 17 2004 at 16:20, zze-TOHIER Elouan FTRD-DRHG-REN wrote:

syntax error, unexpected $end, expecting '}'
The message is clear: a curly bracket is missing somewhere

>  script_require_ports(23);    
>  exit(0);   

Here!

> security_note(data:info);   

"port" argument is missing.

> 	{rep = get_port_state;   

BTW, function calls need () and argument(s)
rep = get_port_state(port: port):

Cf. http://michel.arboi.free.fr/nasl2ref/
_______________________________________________
Plugins-writers mailing list
Plugins-writers@private
http://mail.nessus.org/mailman/listinfo/plugins-writers



This archive was generated by hypermail 2.1.3 : Sat Dec 18 2004 - 05:33:02 PST