mirror of
https://github.com/nmap/nmap.git
synced 2025-12-17 13:09:02 +00:00
Redis (at least v2.9.9) returns -NOAUTH to unauthenticated commands.
This commit is contained in:
@@ -84,7 +84,8 @@ local function checkRedis(host, port)
|
||||
end
|
||||
|
||||
if ( redis.Response.Type.ERROR == response.type ) then
|
||||
if ( "-ERR operation not permitted" == response.data ) then
|
||||
if ( "-ERR operation not permitted" == response.data ) or
|
||||
( "-NOAUTH Authentication required." == response.data) then
|
||||
return true
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user