Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Execute by ordinal #30

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

[WIP] Execute by ordinal #30

wants to merge 2 commits into from

Conversation

JJK96
Copy link

@JJK96 JJK96 commented Nov 25, 2022

A very barebones first implementation for executing a function by ordinal.

I use dwFlags & 0x16 as the flag for ordinal execution. This breaks the sleep functionality, but I wasn't using that.
In the future, possibly an extra parameter should be passed to LoadDLL.

I only inserted the bytecode for 64-bit in the python script. The powershell script and the 32-bit codes should be patched before merging.

Putting it out there in case others need this functionality.

Fix #9

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.

Execute by ordinal?
1 participant