12.09.2016 Views

ESCAPING THE LUA 5.2 SANDBOX WITH UNTRUSTED BYTECODE

2cp3MRc

2cp3MRc

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Typical Lua sandboxing methods<br />

Don't load dangerous libraries when<br />

you create the VM (like os and io)<br />

Can't call system(), can't call<br />

popen()... okay, ship it<br />

I'm about to show you how to break<br />

out of a Lua sandbox with a<br />

restricted set of libraries loaded...<br />

... and without a single library<br />

loaded.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!