CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
rapid7

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.

GitHub Repository: rapid7/metasploit-framework
Path: blob/master/lib/rex/proto/redis/version6.rb
Views: 11704
1
module Rex
2
module Proto
3
module Redis
4
# Module containing the required constants and functionality
5
# specifically for Redis 6 and newer.
6
module Version6
7
module Constants
8
AUTHENTICATION_REQUIRED = /(?<auth_response>NOAUTH Authentication required)/i
9
NO_PASSWORD_SET = /(?<auth_response>ERR AUTH <password> called without any password configured for the default user. Are you sure your configuration is correct?)/i
10
WRONG_PASSWORD = /(?<auth_response>WRONGPASS invalid username-password pair or user is disabled)/i
11
end
12
end
13
end
14
end
15
end
16
17