mirror of
https://github.com/aljazceru/cowrie.git
synced 2026-01-01 13:24:24 +01:00
Fix issue #26 as reported by honigbij
This commit is contained in:
@@ -66,7 +66,7 @@ class Interact(telnet.Telnet):
|
||||
if not self.readonly:
|
||||
if type(bytes) == type(''):
|
||||
ttylog.ttylog_write(
|
||||
self.interacting.ttylog_file,
|
||||
self.interacting.terminal.transport.session.conn.transport.ttylog_file,
|
||||
len(bytes), ttylog.TYPE_INTERACT, time.time(), bytes)
|
||||
for c in bytes:
|
||||
recvline.HistoricRecvLine.keystrokeReceived(
|
||||
|
||||
Reference in New Issue
Block a user