Skip to content

Fix swapped arguments in x64 builders#36

Open
Drewsif wants to merge 1 commit intomonoxgas:masterfrom
Drewsif:fix-x64-args
Open

Fix swapped arguments in x64 builders#36
Drewsif wants to merge 1 commit intomonoxgas:masterfrom
Drewsif:fix-x64-args

Conversation

@Drewsif
Copy link
Copy Markdown

@Drewsif Drewsif commented Nov 15, 2023

Argument 5 and 6 are swapped in the x64 builders causing a really long delay between imports. This PR fixes the DotNet, Native, PowerShell, and Python builders.

Fixes #34
Fixes #33
Closes #32 (fixes only the python builder)

@Inndy
Copy link
Copy Markdown

Inndy commented Sep 15, 2025

@monoxgas could you please kindly merge this patch. Incorrectly swapping PVOID pvShellcodeBase and DWORD dwFlags may cause unexpected random delay when executing payload.

Inndy added a commit to BetterRedTeamTools/sRDI that referenced this pull request Sep 15, 2025
This patch fixes an issue where pvShellcodeBase and dwFlags were incorrectly
swapped, which could cause random delays when executing payloads and prevent
the original flags from being enabled.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Infinite loop when executing NativeLoader_x64.exe X64 mode corrigendum

2 participants