Mailing List Archive

Re: function from other language on Nasl (Andrea
Thanks you Josh,

i tried with the Renaud suggestion,
at first i dont found inside my nessusd.conf
the parameter "nasl_no_signature_check"
and so i have added it, cause there was not.
At the end i included in my script the "pread"
command for use the "ls -a" but the nasl interpreter
told me:

"A non-authenticated script attempted to use an
authenticated function - returning NULL"

so can i do ?

Andrea Governatori



>
> On Sun, 29 Jan 2006, Andrea Governatori wrote:
>
> > Hallo,
> >
> > i'am new on mailing list,
> >
> > How is the nasl function for make a "system call" to
> > the other language. Exactly i would use some php, java
> > and sqlplus functions on my plugins.
> >
> > I hope to have been clear
>
> This was discussed last November. Take a look at the following
> thread:
> http://mail.nessus.org/pipermail/plugins-writers/2005-November/msg00012.html
>
> --
> - Josh


_______________________________________________
Plugins-writers mailing list
Plugins-writers@list.nessus.org
http://mail.nessus.org/mailman/listinfo/plugins-writers
Re: function from other language on Nasl (Andrea [ In reply to ]
On Jan 30, 2006, at 12:30, Andrea Governatori wrote:

> Thanks you Josh,
>
> i tried with the Renaud suggestion,
> at first i dont found inside my nessusd.conf
> the parameter "nasl_no_signature_check"
> and so i have added it, cause there was not.
> At the end i included in my script the "pread"
> command for use the "ls -a" but the nasl interpreter
> told me:
>
> "A non-authenticated script attempted to use an
> authenticated function - returning NULL"

When using the nasl interpreter, use the -X switch :

nasl -X yourscript.nasl



-- Renaud
_______________________________________________
Plugins-writers mailing list
Plugins-writers@list.nessus.org
http://mail.nessus.org/mailman/listinfo/plugins-writers