mirror of
https://github.com/aljazceru/cowrie.git
synced 2025-12-17 05:54:21 +01:00
turn idle timeout into time-based timeout
This commit is contained in:
@@ -188,7 +188,8 @@ class HoneyPotBaseProtocol(insults.TerminalProtocol, TimeoutMixin):
|
|||||||
"""
|
"""
|
||||||
Line Received
|
Line Received
|
||||||
"""
|
"""
|
||||||
self.resetTimeout()
|
# Turn idle timeout into time-based timout by commenting out reset
|
||||||
|
#self.resetTimeout()
|
||||||
if len(self.cmdstack):
|
if len(self.cmdstack):
|
||||||
self.cmdstack[-1].lineReceived(line)
|
self.cmdstack[-1].lineReceived(line)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user