Renaming structure files

This commit is contained in:
João
2024-07-26 19:45:52 -03:00
parent a5083162b6
commit 5131b84b7e
9 changed files with 26 additions and 13 deletions

View File

@@ -41,4 +41,7 @@ pub const IOCTL_REGISTRY_PROTECTION_VALUE: u32 = CTL_CODE!(FILE_DEVICE_UNKNOWN,
pub const IOCTL_REGISTRY_PROTECTION_KEY: u32 = CTL_CODE!(FILE_DEVICE_UNKNOWN, 0x817, METHOD_NEITHER, FILE_ANY_ACCESS);
// Module
pub const IOCTL_ENUMERATE_MODULE: u32 = CTL_CODE!(FILE_DEVICE_UNKNOWN, 0x818, METHOD_NEITHER, FILE_ANY_ACCESS);
pub const IOCTL_ENUMERATE_MODULE: u32 = CTL_CODE!(FILE_DEVICE_UNKNOWN, 0x818, METHOD_NEITHER, FILE_ANY_ACCESS);
// Injection
pub const IOCTL_INJECTION: u32 = CTL_CODE!(FILE_DEVICE_UNKNOWN, 0x818, METHOD_NEITHER, FILE_ANY_ACCESS);

View File

@@ -0,0 +1,6 @@
extern crate alloc;
pub struct TargetInjection {
pub pid: usize,
pub path: alloc::string::String
}

View File

@@ -3,19 +3,23 @@
use crate::vars::Options;
pub mod process_struct;
pub mod thread_struct;
pub mod callback_struct;
pub mod driver_struct;
pub mod registry_struct;
pub mod module_struct;
pub use {
process::*,
driver::*,
thread::*,
callback::*,
registry::*,
module::*,
injection::*,
};
pub use process_struct::*;
pub use driver_struct::*;
pub use thread_struct::*;
pub use callback_struct::*;
pub use registry_struct::*;
pub use module_struct::*;
pub mod process;
pub mod thread;
pub mod callback;
pub mod driver;
pub mod registry;
pub mod module;
pub mod injection;
// Custom LIST_ENTRY
#[repr(C)]