1
This commit is contained in:
@@ -712,10 +712,15 @@ auto CreateProcessInternal(void* sandbox, uc_engine* uc,
|
||||
printf("[*] Wrote process info (x64) to 0x%llx\n",
|
||||
lpProcessInformation);
|
||||
} else {
|
||||
PROCESS_INFORMATION pi;
|
||||
pi.hProcess = hProcess;
|
||||
pi.hThread = hThread;
|
||||
pi.dwProcessId = processId;
|
||||
struct _PROCESS_INFORMATION32 {
|
||||
DWORD hProcess;
|
||||
DWORD hThread;
|
||||
DWORD dwProcessId;
|
||||
DWORD dwThreadId;
|
||||
} pi;
|
||||
pi.hProcess = (DWORD)hProcess;
|
||||
pi.hThread = (DWORD)hThread;
|
||||
pi.dwProcessId = (DWORD)processId;
|
||||
pi.dwThreadId = threadId;
|
||||
uc_mem_write(uc, lpProcessInformation, &pi, sizeof(pi));
|
||||
printf("[*] Wrote process info (x86) to 0x%llx\n",
|
||||
|
||||
Reference in New Issue
Block a user