#[macro_use] extern crate boxxy; extern crate env_logger; extern crate sn0int; fn stage1(sh: &mut boxxy::Shell, _args: Vec) -> Result<(), boxxy::Error> { shprintln!(sh, "[*] starting stage1"); sn0int::sandbox::init().unwrap(); shprintln!(sh, "[+] activated!"); Ok(()) } fn main() { env_logger::init(); println!("stage1 activate sandbox"); let toolbox = boxxy::Toolbox::new().with(vec![("stage1", stage1)]); boxxy::Shell::new(toolbox).run() }