mirror of
https://github.com/cowrie/cowrie.git
synced 2025-07-01 18:07:27 -04:00
Improve compatibility: No longer send a WILL SGA upon connection
These are still attempts at improving things.
This commit is contained in:
committed by
Michel Oosterhof
parent
29facd6ffe
commit
7e027fc8f5
@ -55,9 +55,10 @@ class HoneyPotTelnetSession(TelnetBootstrapProtocol):
|
|||||||
def connectionMade(self):
|
def connectionMade(self):
|
||||||
processprotocol = TelnetSessionProcessProtocol(self)
|
processprotocol = TelnetSessionProcessProtocol(self)
|
||||||
|
|
||||||
|
# XXX SGA is refused by some clients
|
||||||
# Enable some Telnet options for proper output and echo
|
# Enable some Telnet options for proper output and echo
|
||||||
self.transport.will(SGA)
|
#self.transport.will(SGA)
|
||||||
self.transport.will(ECHO)
|
#self.transport.will(ECHO)
|
||||||
|
|
||||||
self.protocol = insults.LoggingTelnetServerProtocol(
|
self.protocol = insults.LoggingTelnetServerProtocol(
|
||||||
cproto.HoneyPotInteractiveTelnetProtocol, self)
|
cproto.HoneyPotInteractiveTelnetProtocol, self)
|
||||||
|
|||||||
Reference in New Issue
Block a user