Mailing List Archive

Template
Hi,

The template used by many to create plugins, has the following:
script_name(english:name["english"]]);

Though it doesn't affect anything I can notice, it seems strange, and a bit
out of place?

Thanks
Noam Rathaus
Beyond Security Ltd.
http://www.BeyondSecurity.com
http://www.SecuriTeam.com
Re: Template [ In reply to ]
Isn't that usually preceded by a line such as

name["english"] = "Title of script";

?

Thomas

Noam Rathaus wrote:
>
> Hi,
>
> The template used by many to create plugins, has the following:
> script_name(english:name["english"]]);
>
> Though it doesn't affect anything I can notice, it seems strange, and a bit
> out of place?
>
> Thanks
> Noam Rathaus
> Beyond Security Ltd.
> http://www.BeyondSecurity.com
> http://www.SecuriTeam.com
Re: Template [ In reply to ]
"Noam Rathaus" <noamr@beyondsecurity.com> writes:

> I might have not made it clear enough... there is a double bracket (] ).

That's a mistake. And it will fail when (if?) I rewrite the NASL
parser :-\
Re: Template [ In reply to ]
Hi,

I might have not made it clear enough... there is a double bracket ( ] ).

Thanks
Noam Rathaus
Beyond Security Ltd.
http://www.BeyondSecurity.com
http://www.SecuriTeam.com

----- Original Message -----
From: "Thomas Reinke" <reinke@e-softinc.com>
To: "Nessus Mailing List" <nessus@list.nessus.org>
Cc: "Nessus Plugins Writers" <plugins-writers@list.nessus.org>
Sent: Saturday, June 29, 2002 16:21
Subject: Re: Template


> Isn't that usually preceded by a line such as
>
> name["english"] = "Title of script";
>
> ?
>
> Thomas
>
> Noam Rathaus wrote:
> >
> > Hi,
> >
> > The template used by many to create plugins, has the following:
> > script_name(english:name["english"]]);
> >
> > Though it doesn't affect anything I can notice, it seems strange, and a
bit
> > out of place?
> >
> > Thanks
> > Noam Rathaus
> > Beyond Security Ltd.
> > http://www.BeyondSecurity.com
> > http://www.SecuriTeam.com
>