From 7532d14dcc1a6e9ba7286d71f5b520675acb85d7 Mon Sep 17 00:00:00 2001 From: Michel Oosterhof Date: Thu, 12 Sep 2019 22:41:24 +0400 Subject: [PATCH] better argument parsing --- src/cowrie/commands/apt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cowrie/commands/apt.py b/src/cowrie/commands/apt.py index 8632092c..3532f50e 100644 --- a/src/cowrie/commands/apt.py +++ b/src/cowrie/commands/apt.py @@ -19,7 +19,7 @@ class command_faked_package_class_factory(object): def getCommand(name): class command_faked_installation(HoneyPotCommand): def call(self): - self.write(b"%s: Segmentation fault\n" % name) + self.write("{}: Segmentation fault\n".format(name)) return command_faked_installation