mirror of https://github.com/cowrie/cowrie.git
reenable password authentication again
This commit is contained in:
parent
8e8882c5c1
commit
7124e30a46
|
@ -123,12 +123,10 @@ class HoneypotPublicKeyChecker:
|
||||||
@implementer(ICredentialsChecker)
|
@implementer(ICredentialsChecker)
|
||||||
class HoneypotPasswordChecker:
|
class HoneypotPasswordChecker:
|
||||||
"""
|
"""
|
||||||
Checker that accepts keyboard-interactive
|
Checker that accepts "keyboard-interactive" and "password"
|
||||||
"""
|
"""
|
||||||
|
|
||||||
# credentialInterfaces = (IUsernamePassword, IPluggableAuthenticationModules)
|
credentialInterfaces = (IUsernamePassword, IPluggableAuthenticationModules)
|
||||||
|
|
||||||
credentialInterfaces = (IPluggableAuthenticationModules,)
|
|
||||||
|
|
||||||
def requestAvatarId(self, credentials):
|
def requestAvatarId(self, credentials):
|
||||||
if hasattr(credentials, 'password'):
|
if hasattr(credentials, 'password'):
|
||||||
|
|
Loading…
Reference in New Issue