Fix regression when "cat > file" data wasn't hashed at connection lose. (#323)

* Fix regression when "cat > file" data wasn't hashed at connection lose.

* Fix typo in core/protocol.py, revert previous commit for insults.py
This commit is contained in:
fe7ch 2016-10-31 23:07:46 +03:00 committed by Michel Oosterhof
parent a625dad622
commit 2ba1436527
1 changed files with 1 additions and 1 deletions

View File

@ -222,7 +222,7 @@ class HoneyPotExecProtocol(HoneyPotBaseProtocol):
""" """
HoneyPotBaseProtocol.connectionMade(self) HoneyPotBaseProtocol.connectionMade(self)
self.setTimeout(60) self.setTimeout(60)
self.terminal.stdinlog_open = True self.terminal.stdinlogOpen = True
self.cmdstack = [honeypot.HoneyPotShell(self, interactive=False)] self.cmdstack = [honeypot.HoneyPotShell(self, interactive=False)]
self.cmdstack[0].lineReceived(self.execcmd) self.cmdstack[0].lineReceived(self.execcmd)