mirror of
https://github.com/cowrie/cowrie.git
synced 2025-07-01 18:07:27 -04:00
string->bytes
This commit is contained in:
@ -172,7 +172,7 @@ class TelnetSessionProcessProtocol(protocol.ProcessProtocol):
|
|||||||
|
|
||||||
|
|
||||||
def writeSequence(self, seq):
|
def writeSequence(self, seq):
|
||||||
self.session.write(''.join(seq))
|
self.session.write(b''.join(seq))
|
||||||
|
|
||||||
|
|
||||||
def loseConnection(self):
|
def loseConnection(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user