diff --git a/CHANGELOG b/CHANGELOG index c58e83f82..e7e083a2a 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,5 +1,8 @@ #Nmap Changelog ($Id$); -*-text-*- +o [NSE][GH#3593] Fixed an issue causing RDP scripts to crash with `attempt to + call a table value`. [@ttrampus] + o [NSE][GH#3307] ASN.1 sequence encoding in the iec61850mms library was broken. [RyugaXhypeR] diff --git a/nselib/rdp.lua b/nselib/rdp.lua index f3b244250..ee83521df 100644 --- a/nselib/rdp.lua +++ b/nselib/rdp.lua @@ -441,9 +441,9 @@ Comm = { local itut_code = string.byte(data, 6) if ( itut_code == 0xD0 ) then stdnse.debug2("RDP: Received ConnectionConfirm response") - return pcall(Response.ConnectionConfirm.parse(data)) + return pcall(Response.ConnectionConfirm.parse, data) elseif ( itut_code == 0xF0 ) then - return pcall(Response.MCSConnectResponse.parse(data)) + return pcall(Response.MCSConnectResponse.parse, data) elseif itut_code ~= nil then stdnse.debug1(("comm:exch - Unknown itut_code: %s"):format(itut_code)) end