mirror of
https://github.com/aljazceru/cowrie.git
synced 2025-12-18 22:44:29 +01:00
set interactive timeout to 3min
This commit is contained in:
@@ -80,7 +80,7 @@ class HoneyPotBaseProtocol(insults.TerminalProtocol, TimeoutMixin):
|
|||||||
self.realClientPort = pt.transport.getPeer().port
|
self.realClientPort = pt.transport.getPeer().port
|
||||||
self.clientVersion = self.getClientVersion()
|
self.clientVersion = self.getClientVersion()
|
||||||
self.logintime = time.time()
|
self.logintime = time.time()
|
||||||
self.setTimeout(1800)
|
self.setTimeout(180)
|
||||||
|
|
||||||
# Source IP of client in user visible reports (can be fake or real)
|
# Source IP of client in user visible reports (can be fake or real)
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user