mirror of
https://github.com/cowrie/cowrie.git
synced 2025-07-01 18:07:27 -04:00
Set default size 80x40 if not negiatioated. Fix #318
This commit is contained in:
@ -22,6 +22,7 @@ class HoneyPotTelnetSession(TelnetBootstrapProtocol):
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
id = 0 # telnet can only have 1 simultaneous session, unlike SSH
|
id = 0 # telnet can only have 1 simultaneous session, unlike SSH
|
||||||
|
windowSize = [40, 80]
|
||||||
|
|
||||||
def __init__(self, username, server):
|
def __init__(self, username, server):
|
||||||
self.username = username
|
self.username = username
|
||||||
|
|||||||
Reference in New Issue
Block a user