From ea7148c521af3ac20fbd7402f477189e3b2b0b23 Mon Sep 17 00:00:00 2001 From: Michel Oosterhof Date: Tue, 24 Feb 2015 09:37:04 +0000 Subject: [PATCH 1/2] 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 21227d4..5070fa4 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') From b48e10adb78bd961dfc31ccb1f69044134844506 Mon Sep 17 00:00:00 2001 From: Michel Oosterhof Date: Tue, 24 Feb 2015 09:38:33 +0000 Subject: [PATCH 2/2] changelog update --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9a6f445..561f878 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,7 +10,7 @@ * allow wget download over non-80 port * simple JSON logging to kippo.json * accept log and deny publickey authentication -* add uname -r command +* add uname -r, -m flags * add working sleep command * enabled ssh diffie-hellman-group-exchange-sha1 algorithm * add 'bash -c' support (no effect option)