Movatterモバイル変換


[0]ホーム

URL:


Home page logo
nmap-dev logo

Nmap Developmentmailing list archives

PreviousBy DateNext
PreviousBy ThreadNext

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: d33tahDate: Thu Aug 29 15:01:33 2013New Revision: 32099Log:Fix the value of max_char variable. This finally makes the tests pass.Modified:   nmap-exp/d33tah/lua-exec-examples/ncat/scripts/httpd.luaModified: 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 FF
Why not write this in hexadecimal? Same with the constants above it.David_______________________________________________Sent through the dev mailing listhttp://nmap.org/mailman/listinfo/devArchived athttp://seclists.org/nmap-dev/
Hm, you're actually right. I didn't know I could use hex values biggerthan 0xff, I'll fix this right away._______________________________________________Sent through the dev mailing listhttp://nmap.org/mailman/listinfo/devArchived athttp://seclists.org/nmap-dev/

PreviousBy DateNext
PreviousBy ThreadNext

Current thread:


[8]ページ先頭

©2009-2025 Movatter.jp