mirror of
https://github.com/joaoviictorti/shadow-rs.git
synced 2026-01-21 16:35:29 +01:00
Renaming structure files
This commit is contained in:
@@ -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);
|
||||
6
shared/src/structs/injection.rs
Normal file
6
shared/src/structs/injection.rs
Normal file
@@ -0,0 +1,6 @@
|
||||
extern crate alloc;
|
||||
|
||||
pub struct TargetInjection {
|
||||
pub pid: usize,
|
||||
pub path: alloc::string::String
|
||||
}
|
||||
@@ -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)]
|
||||
|
||||
Reference in New Issue
Block a user