dockge
dockge copied to clipboard
fix(security): bypass allowed cmds
using control operators, you can use disallowed commands. see screenshot below for example.
this fix simply creates a list of all known operators that can be used and checks the input for them.
Hi, Using a temp docker container (for each console request) witch has docker client cli that for running command is safer than doing this
Using a temp docker container (for each console request) witch has docker client cli that for running command is safer than doing this
yeah, maybe safer, but definitely not as performant. i doubt you can do any real damage with only 4 commands, anyway. blocking control operators is probably the best solution.