mirror of
https://github.com/aljazceru/cowrie.git
synced 2025-12-17 22:14:19 +01:00
New command: passwd
git-svn-id: https://kippo.googlecode.com/svn/trunk@6 951d7100-d841-11de-b865-b3884708a8e2
This commit is contained in:
@@ -116,6 +116,16 @@ class command_pwd(HoneyPotCommand):
|
||||
def call(self, args):
|
||||
self.honeypot.writeln(self.honeypot.cwd)
|
||||
|
||||
class command_passwd(HoneyPotCommand):
|
||||
def call(self, args):
|
||||
# Until we learn how to be interactive
|
||||
for i in [
|
||||
'Changing password for root.',
|
||||
'passwd: Authentication information cannot be recovered',
|
||||
'passwd: password unchanged',
|
||||
]:
|
||||
self.honeypot.writeln(i)
|
||||
|
||||
class command_nop(HoneyPotCommand):
|
||||
def call(self, args):
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user