1
mirror of https://github.com/rapid7/metasploit-payloads synced 2024-11-20 14:39:22 +01:00

fix(injection): fix arch support logic

This commit is contained in:
dledda-r7 2024-10-23 11:23:11 -04:00 committed by bwatters-r7
parent 7d4349047f
commit b85ceb0c36

View File

@ -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;
}