Skip to content

Commit

Permalink
Officially deprecate bin.lua.
Browse files Browse the repository at this point in the history
  • Loading branch information
bonsaiviking committed Sep 24, 2018
1 parent be2910a commit 173a99e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
#Nmap Changelog ($Id$); -*-text-*-

o [NSE] bin.lua is officially deprecated. Lua 5.3, added 2 years ago in Nmap
7.25BETA2, has native support for binary data packing via string.pack and
string.unpack. All existing scripts and libraries have been updated.
[Daniel Miller]

o [NSE] tls.lua when creating a client_hello message will now only use a SSLv3
record layer if the protocol version is SSLv3. Some TLS implementations will
not handshake with a client offering less than TLSv1.0. Scripts will have to
Expand Down
2 changes: 2 additions & 0 deletions nselib/bin.lua
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@

local debug4 = require "stdnse".debug4
local debug5 = require "stdnse".debug5
local verbose = require "stdnse".verbose
verbose(0, "DEPRECATION WARNING: bin.lua is deprecated. Please use Lua 5.3 string.pack")

local assert = assert
local error = error
Expand Down
1 change: 0 additions & 1 deletion nselib/unittest.lua
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ local libs = {
"asn1",
"base32",
"base64",
"bin",
"bitcoin",
"bits",
"bittorrent",
Expand Down

0 comments on commit 173a99e

Please sign in to comment.