mirror of
https://github.com/nmap/nmap.git
synced 2025-12-27 09:59:04 +00:00
Fix parsing output from multiple redis commands returning strings.
This commit is contained in:
@@ -82,6 +82,8 @@ Response = {
|
||||
if( not(status) ) then
|
||||
return false, "Failed to receive data from server"
|
||||
end
|
||||
-- move past the terminal CRLF
|
||||
local status, crlf = self.socket:receive_buf("\r\n", false)
|
||||
|
||||
return true, { data = data, type = Response.Type.BULK }
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user