Re:Glot.io – An open source multi-lang pastebin with runnabl...
by dijit on Wednesday January 22, 2020 @01:22PM
(#22120342)
Seems like he spins up a container on each run, so 'root' is not really 'root'. I'd be worried though, containers are not secure enough to run untrusted code.
Re:Glot.io – An open source multi-lang pastebin with runnabl...
by maxmcd on Wednesday January 22, 2020 @02:19PM
(#22120990)
yeah this setup seems to indicate it's just running regular docker: https://github.com/prasmussen/glot-run/blob/master/docker_se...
How is it set up? I was definitely able to crash an instance I was in as well as read from root, but seemed all it took was a reload of the page and it snapped right back in without any real startup wait.
*edit: I just saw that you posted the source code as well. I'll definitely be exploring!