Nmap Development mailing list archives
Re: Upgrading NSE to Lua 5.3
From: Paulino Calderon Pale <paulino () calderonpale com>
Date: Mon, 9 Feb 2015 11:11:05 -0600
Hi Patrick, I see now. I realized the library bin was broken but didn’t think about checking the specific tag you told us to test hehe. The branch at that revision seems to work as expected. I got an error related to bit.bor() but it looks like it is related to the changes you are working on: sh-3.2# ./nmap -p443 --script ssl* scanme.nmap.org Starting Nmap 6.47SVN ( http://nmap.org ) at 2015-02-09 11:03 CST NSE: Failed to load /Users/cldrn/Code/nse-lua53/./scripts/ssl-ccs-injection.nse: /Users/cldrn/Code/nse-lua53/./nselib/bit.lua:36: attempt to call a nil value (global 'select') stack traceback: /Users/cldrn/Code/nse-lua53/./nselib/bit.lua:36: in function 'bit.bor' /Users/cldrn/Code/nse-lua53/./nselib/vulns.lua:393: in main chunk [C]: in function 'require' /Users/cldrn/Code/nse-lua53/./scripts/ssl-ccs-injection.nse:9: in function </Users/cldrn/Code/nse-lua53/./scripts/ssl-ccs-injection.nse:1> Anyway, the new branch worked on my side =). Cheers.
On Feb 9, 2015, at 10:19 AM, Patrick Donnelly <batrick () batbytes com> wrote: Hi Paulino, On Sun, Feb 8, 2015 at 2:36 PM, Paulino Calderon Pale <paulino () calderonpale com> wrote:I tested your branch and I’m having problems with some NSE scripts: [...]I should have made a post to nmap-dev concerning new work on the branch: I'm in the middle of ripping out nse_bin.cc and replacing it with an equivalent Lua library (bin.lua) that uses Lua 5.3's string.pack|unpack. Code using the bin library won't work right now on the current branch. This is the right branch@revision to test without the recent work on the bin library: https://svn.nmap.org/nmap-exp/patrick/nse-lua53@33938 -- Patrick Donnelly
_______________________________________________ Sent through the dev mailing list https://nmap.org/mailman/listinfo/dev Archived at http://seclists.org/nmap-dev/
Current thread:
- Upgrading NSE to Lua 5.3 Patrick Donnelly (Jan 24)
- Re: Upgrading NSE to Lua 5.3 devin bjelland (Jan 31)
- Re: Upgrading NSE to Lua 5.3 Paulino Calderon Pale (Feb 08)
- Re: Upgrading NSE to Lua 5.3 Patrick Donnelly (Feb 09)
- Re: Upgrading NSE to Lua 5.3 Paulino Calderon Pale (Feb 09)
- Re: Upgrading NSE to Lua 5.3 Patrick Donnelly (Feb 09)
- Re: Upgrading NSE to Lua 5.3 Patrick Donnelly (Feb 09)