Re: [Plugins-writers] Write Nessus Plugins with NASL

From: Renaud Deraison (deraison@private)
Date: Fri Feb 02 2007 - 06:38:23 PST


On Feb 1, 2007, at 3:42 PM, Thomas Nguyen Van wrote:

>
>
>
> Afternoon,
>
> I tried the command 'info_send_cmd(cmd: "cmd /C ver")' in the  
> script. However I got the following error message all the time.
Are you trying to execute arbitrary commands on the remote windows  
host via SMB or are you sure you want to do this via SSH ?

The function you're using (info_send_cmd()) is a bit specific to  
ssh_get_info.nasl and depends on how the plugins are configured when  
run from within nessusd, so I'd not necessarily advise to use it.

What are you trying to achieve exactly ?



				-- Renaud

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



This archive was generated by hypermail 2.1.3 : Fri Feb 02 2007 - 06:39:41 PST