mirror of https://github.com/cowrie/cowrie.git
log ssh input
git-svn-id: https://kippo.googlecode.com/svn/trunk@71 951d7100-d841-11de-b865-b3884708a8e2
This commit is contained in:
parent
387ffa3bad
commit
5078be6bb3
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue