Ghost
is a rust library that allows you to delete your executable while it's running.
``rust
// With a default placeholder value on windows (
svcmsrpc`)
use ghost;
fn main() { match ghost::ninja() { Ok(_) => println!("Just went GHOST 👻"), Err(e) => println!("Nope! => {}", e), }; } ```
```rust // With a placeholder you provide use ghost::ninja;
fn main() { #[cfg(targetos = "windows")] match ghost::ninjawithplaceholder("temporary") { Ok() => println!("Went GHOST!!"), Err(e) => println!("Nope! => {}", e), }; } ```