mirror of
https://github.com/aljazceru/cowrie.git
synced 2025-12-17 22:14:19 +01:00
New command: uname
git-svn-id: https://kippo.googlecode.com/svn/trunk@4 951d7100-d841-11de-b865-b3884708a8e2
This commit is contained in:
@@ -85,6 +85,13 @@ class command_vi(HoneyPotCommand):
|
||||
def call(self, args):
|
||||
self.honeypot.writeln('E558: Terminal entry not found in terminfo')
|
||||
|
||||
class command_uname(HoneyPotCommand):
|
||||
def call(self, args):
|
||||
if args.strip() == '-a':
|
||||
self.honeypot.writeln('Linux sales 2.6.26-2-686 #1 SMP Wed Nov 4 20:45:37 UTC 2009 i686 GNU/Linux')
|
||||
else:
|
||||
self.honeypot.writeln('Linux')
|
||||
|
||||
class command_mount(HoneyPotCommand):
|
||||
def call(self, args):
|
||||
if len(args.strip()):
|
||||
|
||||
Reference in New Issue
Block a user