Nmap Development mailing list archives

Re: Completed Lua 5.3 upgrade!


From: Paulino Calderon <paulino () calderonpale com>
Date: Sat, 25 Jun 2016 14:56:39 -0500

Hey Patrick,

I spotted something in bin.lua. 

sh-3.2# ./nmap --script broadcast-ataoe-discover -e en0 -sn -d3 --packet-trace

Starting Nmap 7.12SVN ( https://nmap.org ) at 2016-06-25 14:54 EST
Fetchfile found /usr/local/share/nmap/nmap.xsl
The max # of sockets we are using is: 0
--------------- Timing report ---------------
  hostgroups: min 1, max 100000
  rtt-timeouts: init 1000, min 100, max 10000
  max-scan-delay: TCP 1000, UDP 1000, SCTP 1000
  parallelism: min 0, max 0
  max-retries: 10, host-timeout: 0
  min-rate: 0, max-rate: 0
---------------------------------------------
NSE: Using Lua 5.3.
Fetchfile found /Users/calderpwn/Code/nse-lua53/./nse_main.lua
Fetchfile found /Users/calderpwn/Code/nse-lua53/./nselib/lpeg-utility.lua
Fetchfile found /Users/calderpwn/Code/nse-lua53/./nselib/stdnse.lua
Fetchfile found /Users/calderpwn/Code/nse-lua53/./nselib/strict.lua
Fetchfile found /Users/calderpwn/Code/nse-lua53/./scripts/script.db
NSE: Arguments from CLI: 
Fetchfile found /Users/calderpwn/Code/nse-lua53/./scripts/broadcast-ataoe-discover.nse
NSE: Script broadcast-ataoe-discover.nse was selected by name.
Fetchfile found /Users/calderpwn/Code/nse-lua53/./nselib/bin.lua
NSE: format = 'H'
NSE: Failed to load /Users/calderpwn/Code/nse-lua53/./scripts/broadcast-ataoe-discover.nse:
/Users/calderpwn/Code/nse-lua53/./nselib/bin.lua:185: attempt to compare nil with number
stack traceback:
        /Users/calderpwn/Code/nse-lua53/./nselib/bin.lua:185: in global 'unpack'
        /Users/calderpwn/Code/nse-lua53/./nselib/bin.lua:253: in main chunk
        [C]: in function 'require'
        ...wn/Code/nse-lua53/./scripts/broadcast-ataoe-discover.nse:1: in function 
<...wn/Code/nse-lua53/./scripts/broadcast-ataoe-discover.nse:1>
NSE: failed to initialize the script engine:
/Users/calderpwn/Code/nse-lua53/./nse_main.lua:600: could not load script
stack traceback:
        [C]: in function 'error'
        /Users/calderpwn/Code/nse-lua53/./nse_main.lua:600: in field 'new'
        /Users/calderpwn/Code/nse-lua53/./nse_main.lua:776: in global 'Entry'
        /Users/calderpwn/Code/nse-lua53/./scripts/script.db:27: in local 'db_closure'
        /Users/calderpwn/Code/nse-lua53/./nse_main.lua:789: in local 'get_chosen_scripts'
        /Users/calderpwn/Code/nse-lua53/./nse_main.lua:1252: in main chunk
        [C]: in ?

QUITTING!



On Jun 25, 2016, at 12:25 PM, Patrick Donnelly <batrick () batbytes com> wrote:

On Fri, Jun 17, 2016 at 8:43 PM, Patrick Donnelly <batrick () batbytes com> wrote:
On Wed, Jun 8, 2016 at 9:31 PM, Patrick Donnelly <batrick () batbytes com> wrote:
Without further ado, here's the branch:

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

If there are no questions/comments/complaints/objections, I'd like to
merge the branch sometime around next Friday. All feedback is still
welcome!

I've incorporated Daniel's suggestions. The branch is now in svn:
https://svn.nmap.org/nmap-exp/patrick/nse-lua53

Last call for comments. I plan to merge into /nmap tomorrow.

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

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

Current thread: