From 70f6ef861d9c65b8eaa89e7381ceebd98388bcfb Mon Sep 17 00:00:00 2001 From: Michel Oosterhof Date: Sun, 4 Jun 2017 10:58:29 +0000 Subject: [PATCH] update to printf --- cowrie/commands/base.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cowrie/commands/base.py b/cowrie/commands/base.py index 3eb5c17c..e289993a 100644 --- a/cowrie/commands/base.py +++ b/cowrie/commands/base.py @@ -156,7 +156,7 @@ class command_printf(HoneyPotCommand): def call(self): if not len(self.args): - self.write('printf: usage: printf [-v var] format [arguments]') + self.write('printf: usage: printf [-v var] format [arguments]\n') else: if '-v' not in self.args: if len(self.args) < 2: @@ -166,6 +166,7 @@ class command_printf(HoneyPotCommand): commands['printf'] = command_printf +commands['/usr/bin/printf'] = command_printf class command_exit(HoneyPotCommand):