diff --git a/Cargo.toml b/Cargo.toml index 99ed02d..4949040 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "RustPacker" -version = "0.1.2" +version = "0.1.3" edition = "2021" authors = ["smukx "] diff --git a/src/tools.rs b/src/tools.rs index 36befc4..1d3a9b9 100644 --- a/src/tools.rs +++ b/src/tools.rs @@ -60,9 +60,13 @@ pub fn get_source_binary_filename(order: &Order, output_folder: &Path) -> PathBu fn template_name_for_injection(injection_id: &str) -> &'static str { // The compiled binary inherits its name from the template folder. + // Must stay in sync with each injection's `template_dir` in technique.toml. match injection_id { "syscrt" => "sysCRT", "wincrt" => "winCRT", + "ntcrt" => "ntCRT", + "ntapc" => "ntAPC", + "ntfiber" => "ntFIBER", "earlycascade" => "ntEarlyCascade", "enum_calendar_info" => "callbackExec", "enum_desktops" => "callbackExec",