From e114c25569ce113b8ddf2052ffe6d7fb2fcbc450 Mon Sep 17 00:00:00 2001 From: Michel Oosterhof Date: Tue, 24 Nov 2015 12:22:29 +0000 Subject: [PATCH] format string --- cowrie/commands/busybox.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cowrie/commands/busybox.py b/cowrie/commands/busybox.py index 575d4a9..a36cd42 100644 --- a/cowrie/commands/busybox.py +++ b/cowrie/commands/busybox.py @@ -57,8 +57,7 @@ class command_busybox(HoneyPotCommand): args = args[1:] cmdclass = self.protocol.getCommand(cmd, self.env['PATH'].split(':')) if cmdclass: - log.msg(eventid='KIPP0005', input=line, format='Command found: %(busybox)s') - #self.protocol.logDispatch('Command found: %s' % (line,)) + log.msg(eventid='KIPP0005', busybox=line, format='Command found: %(busybox)s') self.protocol.call_command(cmdclass, *args) else: self.help()