From 95808604e7bae1c4d268caf76a32db13e004b6b6 Mon Sep 17 00:00:00 2001 From: Michel Oosterhof Date: Mon, 27 Jul 2015 09:13:45 +0000 Subject: [PATCH] cowrie goes 64-bit! updated uname --- cowrie/commands/uname.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cowrie/commands/uname.py b/cowrie/commands/uname.py index d0b4bb1..7db8737 100644 --- a/cowrie/commands/uname.py +++ b/cowrie/commands/uname.py @@ -8,12 +8,12 @@ class command_uname(HoneyPotCommand): def call(self): if len(self.args) and self.args[0].strip() in ('-a', '--all'): self.writeln( - 'Linux %s 2.6.26-2-686 #1 SMP Wed Nov 4 20:45:37 UTC 2009 i686 GNU/Linux' % \ + 'Linux %s 3.2.0-4-amd64 #1 SMP Debian 3.2.68-1+deb7u1 x86_64 GNU/Linux' % \ self.honeypot.hostname) elif len(self.args) and self.args[0].strip() in ('-r', '--kernel-release'): - self.writeln( '2.6.26-2-686' ) + self.writeln( '3.2.0-4-amd64' ) elif len(self.args) and self.args[0].strip() in ('-m', '--machine'): - self.writeln( 'i686' ) + self.writeln( 'amd64' ) else: self.writeln('Linux')