Set default size 80x40 if not negiatioated. Fix #318

This commit is contained in:
Michel Oosterhof
2016-10-27 04:49:21 +00:00
parent 48c9f092e3
commit 69937e3a68

View File

@ -22,6 +22,7 @@ class HoneyPotTelnetSession(TelnetBootstrapProtocol):
"""
id = 0 # telnet can only have 1 simultaneous session, unlike SSH
windowSize = [40, 80]
def __init__(self, username, server):
self.username = username