mirror of https://github.com/cowrie/cowrie.git
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:
parent
a625dad622
commit
2ba1436527
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue