Nmap Development mailing list archives
Re: [PATCH] ipOps.lua ensure that a number is passed to stdnse.tohex()
From: "Patrick Donnelly" <batrick.donnelly () gmail com>
Date: Mon, 6 Oct 2008 20:33:00 -0600
On Mon, Oct 6, 2008 at 8:17 PM, Fyodor <fyodor () insecure org> wrote:
On Tue, Oct 07, 2008 at 03:10:19AM +0100, jah wrote:The attached fixes an error in ipOps.ip_to_bin() when a string is passed to stdnse.tohex(). This should always be (and should always have been) a number.Thanks Jah, I've checked this in. -F
I've just applied a patch to stdnse.tohex to automatically coerce strings to a number if possible for the first argument. Cheers, -- -Patrick Donnelly "One of the lessons of history is that nothing is often a good thing to do and always a clever thing to say." -Will Durant _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://SecLists.Org
Current thread:
- [PATCH] ipOps.lua ensure that a number is passed to stdnse.tohex() jah (Oct 06)
- Re: [PATCH] ipOps.lua ensure that a number is passed to stdnse.tohex() Fyodor (Oct 06)
- Re: [PATCH] ipOps.lua ensure that a number is passed to stdnse.tohex() Patrick Donnelly (Oct 06)
- Re: [PATCH] ipOps.lua ensure that a number is passed to stdnse.tohex() Sven Klemm (Oct 07)
- Re: [PATCH] ipOps.lua ensure that a number is passed to stdnse.tohex() Patrick Donnelly (Oct 06)
- Re: [PATCH] ipOps.lua ensure that a number is passed to stdnse.tohex() Fyodor (Oct 06)