diff --git a/cowrie/core/honeypot.py b/cowrie/core/honeypot.py index 52f442e..8d43b7c 100644 --- a/cowrie/core/honeypot.py +++ b/cowrie/core/honeypot.py @@ -29,6 +29,7 @@ class HoneyPotCommand(object): self.fs = self.protocol.fs # MS-DOS style redirect handling, inside the command + # TODO: handle >>, 2>, etc if '>' in self.args: self.writtenBytes = 0 self.write = self.writeToFile