mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Remove stdin sending from command_watcher
Reasons: * It's unused in our program * It can be a start to security vulnerabilities. I've seen many routes add commands to `Commands` without validation.
This commit is contained in:
parent
ca450f21ed
commit
3956d9c699
@ -121,8 +121,6 @@ class TasksManager:
|
||||
|
||||
elif command == "update_executable":
|
||||
svr.jar_update()
|
||||
else:
|
||||
svr.send_command(command)
|
||||
HelpersManagement.mark_command_complete(cmd.command_id)
|
||||
|
||||
time.sleep(1)
|
||||
|
Loading…
Reference in New Issue
Block a user