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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user