From 19692eaebddaa5dfa976ebede98693e624d3c2fb Mon Sep 17 00:00:00 2001 From: chvancooten Date: Sun, 16 Jun 2024 22:38:49 +0200 Subject: [PATCH] Fix compilation warning in release mode, add TODO --- client-rs/src/main.rs | 4 ++-- nimplant.py | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/client-rs/src/main.rs b/client-rs/src/main.rs index dc1afba..410049a 100644 --- a/client-rs/src/main.rs +++ b/client-rs/src/main.rs @@ -15,8 +15,8 @@ fn main() { // Self-delete the binary if the feature is enabled #[cfg(feature = "selfdelete")] - if let Err(e) = crate::app::self_delete::perform() { - debug_println!("Failed to self-delete: {:?}", e); + if let Err(_e) = crate::app::self_delete::perform() { + debug_println!("Failed to self-delete: {:?}", _e); }; app::main(); diff --git a/nimplant.py b/nimplant.py index 6e8103b..358b159 100644 --- a/nimplant.py +++ b/nimplant.py @@ -217,6 +217,8 @@ def compile_rust_debug(binary_type, xor_key, config): def compile_rust(binary_type, xor_key, config, debug=False): """Compile the Rust implant.""" + # TODO: Fix inline-execute crash when executing after "This BOF expects arguments" + # Construct compilation command target_path = "client-rs/target/x86_64-pc-windows-gnu/"