add fixme

This commit is contained in:
Michel Oosterhof
2015-12-28 14:07:36 +04:00
parent 79e5e81bc3
commit 9af4ab474c

View File

@@ -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