From 7ff536c8a10517a667284ab2ac79658bb8861c7c Mon Sep 17 00:00:00 2001 From: nnposter Date: Sat, 13 Jun 2020 02:10:51 +0000 Subject: [PATCH] Fix for IPP request tostring(). Fixes #2063 --- CHANGELOG | 3 +++ nselib/ipp.lua | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index 20e12b426..e6c68dad5 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -49,6 +49,9 @@ o [Windows] Add support for the new loopback behavior in Npcap 0.9983. This Adapter to be installed, which was a source of problems for some users. [Daniel Miller] +o [NSE][GH#2063] IPP request object conversion to string was not working + correctly [nnposter] + o [NSE][GH#2010] Oracle TNS parser was incorrectly unmarshalling DALC byte arrays [nnposter] diff --git a/nselib/ipp.lua b/nselib/ipp.lua index 3a5649ee7..2bf83a64a 100644 --- a/nselib/ipp.lua +++ b/nselib/ipp.lua @@ -212,7 +212,7 @@ IPP = { data[#data+1] = tostring(group) end data[#data+1] = string.pack("B", IPP.Attribute.IPP_TAG_END) - return data + return table.concat(data) end, },