mirror of
https://github.com/aljazceru/cowrie.git
synced 2026-02-22 14:54:28 +01:00
Another quick interact fix for Putty
git-svn-id: https://kippo.googlecode.com/svn/trunk@219 951d7100-d841-11de-b865-b3884708a8e2
This commit is contained in:
@@ -63,8 +63,9 @@ class Interact(telnet.Telnet):
|
||||
ttylog.ttylog_write(
|
||||
self.interacting.ttylog_file,
|
||||
len(bytes), ttylog.TYPE_INTERACT, time.time(), bytes)
|
||||
recvline.HistoricRecvLine.keystrokeReceived(
|
||||
self.interacting, bytes, None)
|
||||
for c in bytes:
|
||||
recvline.HistoricRecvLine.keystrokeReceived(
|
||||
self.interacting, c, None)
|
||||
|
||||
def sessionWrite(self, data):
|
||||
buf, prev = '', ''
|
||||
|
||||
Reference in New Issue
Block a user