mirror of
https://github.com/aljazceru/cowrie.git
synced 2025-12-18 14:34:22 +01:00
add fixme
This commit is contained in:
@@ -38,7 +38,7 @@ class HoneyPotSSHSession(session.SSHSession):
|
||||
raise ValueError("Bad data given in env request")
|
||||
log.msg(eventid='COW0013', format='request_env: %(name)s=%(value)s',
|
||||
name=name, value=value)
|
||||
# Environment variables come after shell or before exec command
|
||||
# FIXME: This only works for shell, not for exec command
|
||||
if self.session:
|
||||
self.session.environ[name] = value
|
||||
return 0
|
||||
|
||||
Reference in New Issue
Block a user