mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 14:01:15 +02:00
Unprotected access for websocket consoles.
Ref https://github.com/GNS3/gns3-gui/issues/2883#issuecomment-580677552
This commit is contained in:
1 parent
c313475f68
commit
3484a7dd3d
2 files changed
+4
-2
No files matched your search
@@ -469,6 +469,7 @@ class NodeHandler:
|
||||
})
|
||||
async def ws_console(request, response):
|
||||
|
||||
print("HERE!")
|
||||
project = await Controller.instance().get_loaded_project(request.match_info["project_id"])
|
||||
node = project.get_node(request.match_info["node_id"])
|
||||
compute = node.compute
|
||||
|
||||
Reference in new issue
Block a user