Re: [Openvas-devel] Help for a command tool

2008-07-02 Thread Thomas Reinke
You might want to consider letting the daemon do what it does best, run the script, and instead either create a custom client (using the NTP protocol) to control execution of the script, or alternatively use the command line client as already suggested. Thomas fisherman wrote: > I know the openva

Re: [Openvas-devel] Help for a command tool

2008-07-02 Thread fisherman
I know the openvas's architecture. If i run openvas-nasl using "-t xxx yyy.nasl", It not parse the nasl script's description part. I read the openvas-server's code, find that in plugins loading, it will call execute_nasl_script in NASL_EXEC_DESCR mode. [EMAIL PROTECTED]:/home/wangyao/Desktop/openv

Re: [Openvas-devel] Help for a command tool

2008-07-02 Thread Tim Brown
On Wednesday 02 July 2008 09:19:55 fisherman wrote: > But OpenVAS-Client can not specify which script to execute. No, it has a different purpose. [openvas-]nasl can specify a script to execute however. I just wanted to make sure you knew what options already existed since they might have been

Re: [Openvas-devel] Help for a command tool

2008-07-02 Thread Michael Wiegand
Am Mittwoch, 2. Juli 2008 10:19:55 schrieb fisherman: > But OpenVAS-Client can not specify which script to execute. You can enable/disable plugins in an openvasrc file and feed this file to OpenVAS-Client via the -c/--config-file option. But if you're looking for parsing NASL scripts, this funct

Re: [Openvas-devel] Help for a command tool

2008-07-02 Thread fisherman
But OpenVAS-Client can not specify which script to execute. 2008/7/2, Tim Brown <[EMAIL PROTECTED]>: > On Wednesday 02 July 2008 08:48:55 fisherman wrote: > > I want to implement a command tool using nasl, which can execute a > > nasl script onto a target. > > Can you give me some advise? Base

Re: [Openvas-devel] Help for a command tool

2008-07-02 Thread Tim Brown
On Wednesday 02 July 2008 08:48:55 fisherman wrote: > I want to implement a command tool using nasl, which can execute a > nasl script onto a target. > Can you give me some advise? Base on libnasl? Should I implement > plugin_scheduler and kb? Cool. Have you looked at the nasl binary from openvas

[Openvas-devel] Help for a command tool

2008-07-02 Thread fisherman
I want to implement a command tool using nasl, which can execute a nasl script onto a target. Can you give me some advise? Base on libnasl? Should I implement plugin_scheduler and kb? -- Best Regards :-) --- Wang Yao(王耀),[EMAIL PROTECTED] [EMAIL PROTECTED]