[prev in list] [next in list] [prev in thread] [next in thread] 

List:       nessus-plugins-writers
Subject:    Re: [Plugins-writers] need some help
From:       Michel Arboi <mikhail () nessus ! org>
Date:       2004-12-18 13:32:06
Message-ID: m3652zhgvd.fsf () nessus ! org
[Download RAW message or body]

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/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic