From b85ceb0c36a2b0aaa47cce617b361bc2c3dbd8f6 Mon Sep 17 00:00:00 2001 From: dledda-r7 Date: Wed, 23 Oct 2024 11:23:11 -0400 Subject: [PATCH] fix(injection): fix arch support logic --- c/meterpreter/source/metsrv/pool_party.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c/meterpreter/source/metsrv/pool_party.c b/c/meterpreter/source/metsrv/pool_party.c index af3e1668..ab432166 100644 --- a/c/meterpreter/source/metsrv/pool_party.c +++ b/c/meterpreter/source/metsrv/pool_party.c @@ -98,7 +98,7 @@ POOLPARTY_INJECTOR* GetOrInitPoolParty(DWORD dwSourceArch, DWORD dwDestinationAr break; } } - if (dwSourceArch == PROCESS_ARCH_X64) { + if (dwSourceArch == PROCESS_ARCH_X64 || dwSourceArch == PROCESS_ARCH_X86) { if (dwDestinationArch == PROCESS_ARCH_X64) { // poolLifeguard->variants[POOLPARTY_TECHNIQUE_TP_WAIT_INSERTION].isInjectionSupported = poolLifeguard->variants[POOLPARTY_TECHNIQUE_TP_WAIT_INSERTION].isSystemSupported; }