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

Is there any way to bypass the argument limitiations mentioned in README.md? #15

Open
MexHigh opened this issue Apr 28, 2023 · 1 comment

Comments

@MexHigh
Copy link

MexHigh commented Apr 28, 2023

I'm using RunPE as a library in my project. I load the file bytes myself and added a public function to RunPE to which I can pass the file bytes and arguments. I build RunPE as a class library.

However, when trying to execute a binary, that does not use CommandLineToArgvW, the arguments passed to MY binary will get passed to the binary I want to execute and the first argument passed to StartExecution (which should be the args as a string[]) is ignored.

Is there any way to patch this, so that I can pass arguments programmatically?

@cpu0x00
Copy link

cpu0x00 commented Nov 12, 2023

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

No branches or pull requests

2 participants