mirror of https://github.com/cowrie/cowrie.git
support for 'uname -m'
This commit is contained in:
parent
a7f189eed1
commit
ea7148c521
|
@ -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')
|
||||
|
||||
|
|
Loading…
Reference in New Issue