diff --git a/scripts/redis-brute.nse b/scripts/redis-brute.nse index 7baccc854..f8bbdffcc 100644 --- a/scripts/redis-brute.nse +++ b/scripts/redis-brute.nse @@ -84,11 +84,12 @@ 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 - + return false, "Server does not require authentication" end