Nmap Development mailing list archives

Re: [NSE patch] base64.enc properly encode last character


From: "Philip Pickering" <pgpickering () gmail com>
Date: Tue, 5 Aug 2008 16:33:18 +0200

Hi,

patch makes sense, since there is no call to bin.pack() to rely on
adding the 0s anymore :)
(as noted in the comments)

Will apply patch as soon as possible.

cheers,
Philip


2008/8/5 Sven Klemm <sven () c3d2 de>:
Hi,

the base64 nse library does not properly encode the last character of a
string when the string length is not a multiple of 6 bit.

I've attached a patch for the issue.

Cheers,
Sven

--
Sven Klemm
http://cthulhu.c3d2.de/~sven/

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org


Current thread: