mirror of
https://github.com/aljazceru/cowrie.git
synced 2025-12-20 15:34:22 +01:00
log ssh input
git-svn-id: https://kippo.googlecode.com/svn/trunk@71 951d7100-d841-11de-b865-b3884708a8e2
This commit is contained in:
@@ -57,6 +57,7 @@ class command_ssh(HoneyPotCommand):
|
||||
self.exit()
|
||||
|
||||
def lineReceived(self, line):
|
||||
print 'INPUT (ssh):', line
|
||||
if len(self.callbacks):
|
||||
self.callbacks.pop(0)(line)
|
||||
commands['/usr/bin/ssh'] = command_ssh
|
||||
|
||||
Reference in New Issue
Block a user