Skip to content

Commit

Permalink
fix(injection): fix arch support logic
Browse files Browse the repository at this point in the history
  • Loading branch information
dledda-r7 committed Oct 23, 2024
1 parent b7b464d commit 85de853
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion c/meterpreter/source/metsrv/base_inject.c
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@ DWORD inject_via_poolparty(Remote* remote, Packet* response, HANDLE hProcess, DW
do
{

if (dwDestinationArch == PROCESS_ARCH_X64 && (dwMeterpreterArch == PROCESS_ARCH_X86 || dwMeterpreterArch == PROCESS_ARCH_X86)) {
if (dwDestinationArch == PROCESS_ARCH_X64 && (dwMeterpreterArch == PROCESS_ARCH_X64 || dwMeterpreterArch == PROCESS_ARCH_X86)) {
dprintf("[INJECT][inject_via_poolparty] using: poolparty_stub_x64");
lpStub = &poolparty_stub_x64;
dwStubSize = sizeof(poolparty_stub_x64);
Expand Down

0 comments on commit 85de853

Please sign in to comment.