mirror of
https://github.com/aljazceru/cowrie.git
synced 2025-12-17 22:14:19 +01:00
Added '--all' response to 'uname'
Seen it used in the wild
This commit is contained in:
@@ -78,7 +78,7 @@ commands['/bin/hostname'] = command_hostname
|
||||
|
||||
class command_uname(HoneyPotCommand):
|
||||
def call(self):
|
||||
if len(self.args) and self.args[0].strip() == '-a':
|
||||
if len(self.args) and (self.args[0].strip() == '-a' or self.args[0].strip() == '--all'):
|
||||
self.writeln(
|
||||
'Linux %s 2.6.26-2-686 #1 SMP Wed Nov 4 20:45:37 UTC 2009 i686 GNU/Linux' % \
|
||||
self.honeypot.hostname)
|
||||
|
||||
Reference in New Issue
Block a user