Hacker News new | past | comments | ask | show | jobs | submit login

And in Rust you can use the `include_str!()` macro to include any file.

Works well on the Rust playground and pretty much everywhere else: https://play.rust-lang.org/?version=stable&mode=debug&editio...

If procedural macros are available, they can also be abused to run arbitrary code.




and if you look at this file "/proc/1/cgroup"

you'll see that it is isolated in a docker container




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: