mirror of
https://github.com/aljazceru/cowrie.git
synced 2025-12-22 08:24:23 +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()
|
self.exit()
|
||||||
|
|
||||||
def lineReceived(self, line):
|
def lineReceived(self, line):
|
||||||
|
print 'INPUT (ssh):', line
|
||||||
if len(self.callbacks):
|
if len(self.callbacks):
|
||||||
self.callbacks.pop(0)(line)
|
self.callbacks.pop(0)(line)
|
||||||
commands['/usr/bin/ssh'] = command_ssh
|
commands['/usr/bin/ssh'] = command_ssh
|
||||||
|
|||||||
Reference in New Issue
Block a user