From ea7148c521af3ac20fbd7402f477189e3b2b0b23 Mon Sep 17 00:00:00 2001 From: Michel Oosterhof Date: Tue, 24 Feb 2015 09:37:04 +0000 Subject: [PATCH] support for 'uname -m' --- kippo/commands/uname.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kippo/commands/uname.py b/kippo/commands/uname.py index 21227d41..5070fa42 100644 --- a/kippo/commands/uname.py +++ b/kippo/commands/uname.py @@ -12,6 +12,8 @@ class command_uname(HoneyPotCommand): self.honeypot.hostname) elif len(self.args) and self.args[0].strip() in ('-r', '--kernel-release'): self.writeln( '2.6.26-2-686' ) + elif len(self.args) and self.args[0].strip() in ('-m', '--machine'): + self.writeln( 'i686' ) else: self.writeln('Linux')