1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-01 04:19:02 +00:00

nse_check_globals cleanup

This commit is contained in:
patrik
2012-10-07 12:54:31 +00:00
parent 40b1c4705b
commit 121cc35de6
6 changed files with 9 additions and 4 deletions

View File

@@ -189,7 +189,7 @@ function login (socket,username,password)
end
local _, size = bin.unpack(">I", response, 1)
loginresp = string.sub(response,5,17)
local loginresp = string.sub(response,5,17)
if (loginresp ~= CASSANDRARESP..pack4str("login")) then
return false, "protocol error"
end