Nmap Development mailing list archives
Re: Completed Lua 5.3 upgrade!
From: David Fifield <david () bamsoftware com>
Date: Thu, 9 Jun 2016 08:21:49 -0700
On Wed, Jun 08, 2016 at 09:31:22PM -0400, Patrick Donnelly wrote:
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.]
I had a look. It worked for me in a simple scan: $ ./nmap -sC -sV scanme.nmap.org Starting Nmap 7.12SVN ( https://nmap.org ) at 2016-06-09 08:20 PDT Nmap scan report for scanme.nmap.org (45.33.32.156) Host is up (0.065s latency). Other addresses for scanme.nmap.org (not scanned): 2600:3c01::f03c:91ff:fe18:bb2f Not shown: 995 closed ports PORT STATE SERVICE VERSION 22/tcp open ssh OpenSSH 6.6.1p1 Ubuntu 2ubuntu2.3 (Ubuntu Linux; protocol 2.0) | ssh-hostkey: | 1024 ac:00:a0:1a:82:ff:cc:55:99:dc:67:2b:34:97:6b:75 (DSA) | 2048 20:3d:2d:44:62:2a:b0:5a:9d:b5:b3:05:14:c2:a6:b2 (RSA) |_ 256 96:02:bb:5e:57:54:1c:4e:45:2f:56:4c:4a:24:b2:57 (ECDSA) 25/tcp filtered smtp 80/tcp open http Apache httpd 2.4.7 ((Ubuntu)) |_http-server-header: Apache/2.4.7 (Ubuntu) |_http-title: Go ahead and ScanMe! 9929/tcp open nping-echo Nping echo 31337/tcp open tcpwrapped Service Info: OS: Linux; CPE: cpe:/o:linux:linux_kernel Service detection performed. Please report any incorrect results at https://nmap.org/submit/ . Nmap done: 1 IP address (1 host up) scanned in 18.21 seconds Some files in the branch have been marked as executable. I found them this way: git diff master... | grep -B 2 'new mode' It's worth mentioning that there's a new "bits" library that contains a "reverse" function. As I gather, it's to replace some former uses of bin.pack and bin.unpack, where a string would be packed with "B", then reversed as a string, then unpacked with "B" again. _______________________________________________ Sent through the dev mailing list https://nmap.org/mailman/listinfo/dev Archived at http://seclists.org/nmap-dev/
Current thread:
- Completed Lua 5.3 upgrade! Patrick Donnelly (Jun 08)
- Re: Completed Lua 5.3 upgrade! David Fifield (Jun 09)
- Re: Completed Lua 5.3 upgrade! Patrick Donnelly (Jun 09)
- Re: Completed Lua 5.3 upgrade! Patrick Donnelly (Jun 17)
- Re: Completed Lua 5.3 upgrade! Daniel Miller (Jun 18)
- Re: Completed Lua 5.3 upgrade! Patrick Donnelly (Jun 18)
- Re: Completed Lua 5.3 upgrade! Daniel Miller (Jun 18)
- Re: Completed Lua 5.3 upgrade! Patrick Donnelly (Jun 18)
- Re: Completed Lua 5.3 upgrade! Daniel Miller (Jun 18)
- Re: Completed Lua 5.3 upgrade! Patrick Donnelly (Jun 18)
- Re: Completed Lua 5.3 upgrade! Patrick Donnelly (Jun 18)
- Re: Completed Lua 5.3 upgrade! Daniel Miller (Jun 18)
- Re: Completed Lua 5.3 upgrade! Patrick Donnelly (Jun 25)
- Re: Completed Lua 5.3 upgrade! David Fifield (Jun 09)