mirror of https://git.48k.eu/ogclient
Try to find the script to run for a shell/run request in /opt/opengnsys/shell/, restricted mode is enabled if the script is found. Excute the script without shell=True and executable=OG_SHELL in restricted mode. Restricted mode is a safer execution method as it only executes code manually defined by the administrator. Each script needs to define a shebang, this way more than just bash is supported. |
||
---|---|---|
cfg | ||
src | ||
tests | ||
.gitignore | ||
COPYING | ||
ogclient | ||
setup.py |