Re: [Plugins-writers] Problems with Pread()

From: Renaud Deraison (deraison@private)
Date: Mon Sep 11 2006 - 05:16:22 PDT


Hi James,

On Sep 11, 2006, at 11:09 AM, James A Webb wrote:

> Hi.
>
> Can anyone tell me why the following code breaks on *broken_buf*  
> below?
> Note that the script is currently unsigned, though the Nessus  
> server is
> configured to ignore sigs at the moment.
>
>             argv                = split(cmd, sep:' ');


Try :

  argv = split(cmd, sep:' ', keep:FALSE);


Otherwise you'll get trailing spaces in each item of the array.



				-- 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 : Mon Sep 11 2006 - 05:17:42 PDT