1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-06 04:31:29 +00:00

10 Commits

Author SHA1 Message Date
dmiller
86deb87187 Use local functions instead of anonymous functions for gsub (less GC overhead) 2020-11-30 23:22:06 +00:00
dmiller
173a99ede4 Officially deprecate bin.lua. 2018-09-24 17:31:21 +00:00
dmiller
689ea0e05d Spelling corrections. Fixes #1160 2018-03-26 14:59:41 +00:00
rewanth
3218c0f216 Removes unused dependencies from all files in nselib folder. 2017-08-15 07:40:45 +00:00
dmiller
b757aa1750 Make test deterministic: assert failed on big-endian arch 2017-02-13 18:15:03 +00:00
dmiller
bb9d03269c Fix bin.pack('H') to allow whitespace, force crash on non-hex chars 2016-07-28 18:51:40 +00:00
batrick
62c4985536 Reduce debugging further.
This is still too verbose for some use cases.
2016-07-16 17:24:19 +00:00
batrick
1b5f633e2a Reduce verbosity and improve bin wrapper debugging. 2016-07-13 01:46:27 +00:00
dmiller
187d9190c0 Add missing nsedoc tags, needed because stdnse.module not used 2016-07-07 22:12:13 +00:00
batrick
7f5ec526fe Merge branch 'nse-lua53'
Lua 5.3 adds several awesome features of particular interest to nmap including
bitwise operators and integers, a utf8 library, and standard binary pack/unpack
functions.

In addition to adding Lua 5.3, this branch changes:

o Complete removal of the NSE bit library (in C), It has been replaced with
  a new Lua library wrapping Lua 5.3's bit-wise operators.

o Complete removal of the NSE bin library (in C). It has been replaced with a
  new Lua library wrapping Lua 5.3's string.pack|unpack functions.

o The bin.pack "B" format specifier (which has never worked correctly) is
  unimplemented.  All scripts/libraries which use it have been updated. Most
  usage of this option was to allow string based bit-wise operations which are no
  longer necessary now that Lua 5.3 provides integers and bit-wise operators.

o The base32/base64 libraries have been reimplemented using Lua 5.3's new
  bitwise operators. (This library was the main user of the bin.pack "B" format
  specifier.)

o A new "bits" library has been added for common bit hacks. Currently only has
  a reverse function.

Thanks to David Fifield, Daniel Miller, Jacek Wielemborek, and  Paulino
Calderon for testing this branch.
2016-07-02 17:02:27 +00:00