From d0107929c2214f1e4ea49a2b55f01db3d6f8eda0 Mon Sep 17 00:00:00 2001 From: Michel Oosterhof Date: Thu, 27 Aug 2015 14:29:33 +0400 Subject: [PATCH] fix cat crash with multiple arguments --- cowrie/commands/fs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cowrie/commands/fs.py b/cowrie/commands/fs.py index 62926f8..82597ea 100644 --- a/cowrie/commands/fs.py +++ b/cowrie/commands/fs.py @@ -24,7 +24,7 @@ class command_cat(HoneyPotCommand): self.write(self.fs.file_contents(path)) except: self.writeln('cat: %s: No such file or directory' % (arg,)) - self.exit() + self.exit() def lineReceived(self, line): log.msg( eventid='KIPP0008', realm='cat', input=line,