Local PE Injection is a method to execute a PE file in memory.
You can pass a DLL file or an EXE to the binary:
cargo run -- --pe <file.exe / file.dll> --export <function>"
target/release/local_pe_injection.exe --pe <file.exe / file.dll>"
You can pass arguments to your file, in this example I'm using mimikatz.exe
cargo run -- --pe mimikatz.exe --arg "coffee exit"
Using DLL:
cargo run --release -- --pe .\main.dll --export "test"