mailing list archives
Re: Unbounded memory use in drda-info
From: Ron <ron () skullsecurity net>
Date: Wed, 15 Jun 2011 17:57:39 -0500
On Mon, 9 May 2011 17:54:50 +0200 Patrik Karlsson <patrik () cqure net> wrote:
I would of course prefer being able
to call receive_bytes directly with the exact number of bytes to
read, rather than the minimum. I know this has been discussed in the
past  but I'm not certain about the current status.
The way Nessus solves this is by having both 'max length' and 'min length' arguments to the recv() and recvfrom()-style
functions. By setting them to the same value, you can receive an exact number of bytes.
I've found it to be super handy!
Sent through the nmap-dev mailing list
Archived at http://seclists.org/nmap-dev/