mirror of
https://github.com/cowrie/cowrie.git
synced 2025-07-01 18:07:27 -04:00
simplify env
This commit is contained in:
@ -32,21 +32,11 @@ For complete documentation, run: info coreutils 'env invocation'
|
||||
class command_env(HoneyPotCommand):
|
||||
"""
|
||||
"""
|
||||
|
||||
def done(self):
|
||||
"""
|
||||
"""
|
||||
self.exit()
|
||||
|
||||
|
||||
def start(self):
|
||||
def call(self):
|
||||
"""
|
||||
"""
|
||||
for i in list(self.environ.keys()):
|
||||
self.write("%s=%s\n" % (i,self.environ[i]))
|
||||
self.exit()
|
||||
|
||||
|
||||
commands['/usr/bin/env'] = command_env
|
||||
|
||||
# vim: set sw=4 et tw=0:
|
||||
|
||||
Reference in New Issue
Block a user