Nmap Development mailing list archives

Completed Lua 5.3 upgrade!


From: Patrick Donnelly <batrick () batbytes com>
Date: Wed, 8 Jun 2016 21:31:22 -0400

Hello nmap-dev!

It's been a while since I've worked on the upgrade to Lua 5.3 [1]
which adds several awesome features of particular interest to nmap
including bitwise operators and integers, a utf8 library, and standard
binary pack/unpack functions. I'm happy to say to have found time to
finish this work after finally finishing my Ph.D.

Without further ado, here's the branch:

https://github.com/batrick/nmap/tree/nse-lua53

[That's not mergeable right now because of different histories. Once
the branch is done, I will push it to svn and do a proper merge.]

The main differences with the last branch in [1] is the completed
removal of the bin library (now supported by a wrapper around
string.pack|unpack). Also, the base32/base64 libraries have been
reimplemented using Lua 5.3's new bitwise operators (mostly because
base32/base64 used the criminally broken bin.pack "B" option). All of
the big library changes include lots of tests to confirm things work
properly.

I would love to hear some feedback including "it works for me!".

[1] http://seclists.org/nmap-dev/2015/q1/84

-- 
Patrick Donnelly
_______________________________________________
Sent through the dev mailing list
https://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/


Current thread: