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",
|
printf("[*] Wrote process info (x64) to 0x%llx\n",
|
||||||
lpProcessInformation);
|
lpProcessInformation);
|
||||||
} else {
|
} else {
|
||||||
PROCESS_INFORMATION pi;
|
struct _PROCESS_INFORMATION32 {
|
||||||
pi.hProcess = hProcess;
|
DWORD hProcess;
|
||||||
pi.hThread = hThread;
|
DWORD hThread;
|
||||||
pi.dwProcessId = processId;
|
DWORD dwProcessId;
|
||||||
|
DWORD dwThreadId;
|
||||||
|
} pi;
|
||||||
|
pi.hProcess = (DWORD)hProcess;
|
||||||
|
pi.hThread = (DWORD)hThread;
|
||||||
|
pi.dwProcessId = (DWORD)processId;
|
||||||
pi.dwThreadId = threadId;
|
pi.dwThreadId = threadId;
|
||||||
uc_mem_write(uc, lpProcessInformation, &pi, sizeof(pi));
|
uc_mem_write(uc, lpProcessInformation, &pi, sizeof(pi));
|
||||||
printf("[*] Wrote process info (x86) to 0x%llx\n",
|
printf("[*] Wrote process info (x86) to 0x%llx\n",
|
||||||
|
|||||||
Reference in New Issue
Block a user