From 1a0ed7baa6c0ffe2ccc36fa2e0f2eec4bae4fe96 Mon Sep 17 00:00:00 2001 From: lelonek1 Date: Mon, 19 Dec 2016 01:47:34 -0500 Subject: [PATCH] Fix exception in connectionLost due to not passing self (#382) --- cowrie/telnet/session.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cowrie/telnet/session.py b/cowrie/telnet/session.py index 25de1ae..a798d26 100644 --- a/cowrie/telnet/session.py +++ b/cowrie/telnet/session.py @@ -78,7 +78,7 @@ class HoneyPotTelnetSession(TelnetBootstrapProtocol): # XXX verify if HoneyPotTelnetAuthProtocol's connectionLost fires otherwise # we'll have to reimplement some of the stuff here """ - TelnetBootstrapProtocol.connectionLost(reason) + TelnetBootstrapProtocol.connectionLost(self, reason) self.server = None self.cfg = None self.avatar = None