ghost-rs

Crates.ioghost-rs
lib.rsghost-rs
version0.2.0
sourcesrc
created_at2023-04-06 05:25:45.416865
updated_at2024-06-30 04:23:00.894819
descriptionCrate using std::env for stealthily removing EXE
homepagehttps://github.com/brohamgoham/ghost-rs
repositoryhttps://github.com/brohamgoham/ghost-rs
max_upload_size
id831945
size14,751
Mohammed Maali (brohamgoham)

documentation

https://docs.rs/ghost-rs

README

Ghost

Ghost is a tool for removing your executable while it's process is still running.

Usage

// On windows (`svcmsrpc`)
use ghost;

fn main() {
    match ghost::ninja() {
        Ok(_) => println!("Just went GHOST 👻"),
        Err(e) => println!("Nope! => {}", e),
    };
}
// With placeholder 
use ghost::ninja;

fn main() {
    #[cfg(target_os = "windows")]
    match ghost::ninja_with_placeholder("temporary") {
        Ok(_) => println!("Went GHOST!!"),
        Err(e) => println!("Nope! => {}", e),
    };
}
Commit count: 10

cargo fmt