Nmap Development mailing list archives
Re: [nmap-svn] r32099 - nmap-exp/d33tah/lua-exec-examples/ncat/scripts
From: Jacek Wielemborek <wielemborekj1 () gmail com>
Date: Thu, 29 Aug 2013 19:08:55 +0200
2013/8/29 David Fifield <david () bamsoftware com>:
On Thu, Aug 29, 2013 at 03:01:34PM +0000, commit-mailer () nmap org wrote:Author: d33tah Date: Thu Aug 29 15:01:33 2013 New Revision: 32099 Log: Fix the value of max_char variable. This finally makes the tests pass. Modified: nmap-exp/d33tah/lua-exec-examples/ncat/scripts/httpd.lua Modified: nmap-exp/d33tah/lua-exec-examples/ncat/scripts/httpd.lua ============================================================================== --- nmap-exp/d33tah/lua-exec-examples/ncat/scripts/httpd.lua (original) +++ nmap-exp/d33tah/lua-exec-examples/ncat/scripts/httpd.lua Thu Aug 29 15:01:33 2013 @@ -61,7 +61,7 @@ local char2_max = 2047 -- (1<<11) - 1 local char3_max = 65535 -- (1<<16) - 1 -local max_char = 4103061439 --\U0010FFFF or F4 8F BF BF +local max_char = 1114111 --\U0010FFFF or 00 10 FF FFWhy not write this in hexadecimal? Same with the constants above it. David _______________________________________________ Sent through the dev mailing list http://nmap.org/mailman/listinfo/dev Archived at http://seclists.org/nmap-dev/
Hm, you're actually right. I didn't know I could use hex values bigger than 0xff, I'll fix this right away. _______________________________________________ Sent through the dev mailing list http://nmap.org/mailman/listinfo/dev Archived at http://seclists.org/nmap-dev/
Current thread:
- Re: [nmap-svn] r32099 - nmap-exp/d33tah/lua-exec-examples/ncat/scripts David Fifield (Aug 29)
- Re: [nmap-svn] r32099 - nmap-exp/d33tah/lua-exec-examples/ncat/scripts Jacek Wielemborek (Aug 29)