diff --git a/scripts/rdp-enum-encryption.nse b/scripts/rdp-enum-encryption.nse index 197597a34..6451beeed 100644 --- a/scripts/rdp-enum-encryption.nse +++ b/scripts/rdp-enum-encryption.nse @@ -171,7 +171,7 @@ local function enum_ciphers(host, port) end local msc = rdp.Request.MCSConnectInitial:new(v) - status, response = comm:exch(msc) + local status, response = comm:exch(msc) comm:close() if ( status ) then if ( response.ccr and response.ccr.enc_cipher == v ) then