Re: [Plugins-writers] Write a plugin for windows command

From: Ferdy Riphagen (f.riphagen@private)
Date: Tue Jan 30 2007 - 12:18:52 PST


Thomas Nguyen Van wrote:
>
> Afternoon,
>
> Is Nessus able to execute a windows command like "dir"  through a 
> command line prompt?
> If yes, could you tell me how, please?
>
Via a shell! Yes via ssh with the ssh_cmd(); command.

ssh_login(socket:soc login:.....);
ssh_cmd(socket:soc, cmd:"dir");

Regard,

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



This archive was generated by hypermail 2.1.3 : Tue Jan 30 2007 - 13:23:38 PST