Re: [Plugins-writers] Script failure over time, also: requesting character after end of string error

From: Renaud Deraison (deraison@private)
Date: Thu Feb 03 2005 - 07:48:51 PST


On Thu, Feb 03, 2005 at 10:38:47AM -0500, mailing lists wrote:

Hi,

> Oh, one other thing -- it works just fine, still, from the command
> line nasl tool.

My assumption is that your script runs at the same time as other SMB
scripts, which the remote Windows host does not like. As a result, the
remote host closes the connection early and you receive incomplete
and/or empty strings.

The solution is to tell nessusd that your script will operate on ports
139/445 by adding :

 script_require_ports(139, 445);

in the description part of the plugin, and then just restart nessusd and
try again.



				-- 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 : Thu Feb 03 2005 - 07:49:44 PST