mirror of
https://github.com/aljazceru/cowrie.git
synced 2025-12-17 14:04:28 +01:00
don't let user set password to '*'
This commit is contained in:
@@ -169,7 +169,7 @@ class command_passwd(HoneyPotCommand):
|
||||
def finish(self, line):
|
||||
self.honeypot.password_input = False
|
||||
|
||||
if line != self.passwd:
|
||||
if line != self.passwd or self.passwd == '*':
|
||||
self.writeln('Sorry, passwords do not match')
|
||||
self.exit()
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user