-
Notifications
You must be signed in to change notification settings - Fork 170
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
Convert dll to exe and pass the dll arguments ? #2
Comments
Hi! Indeed, Dll to Exe supports only the cases, when the execution of the sample starts in the |
@evandrix - this is very easy to implement for the simplest case: if the function does not take any arguments. But we cannot assume that it will be always true. some functions may expect arguments, and if we don't create a stub that would be filling them, it will simply crash. The reason why I don't want to add this feature to DLL to EXE is, I am worried it will make things more confusing: such simple redirection will work only for some function. And creating a customized stub to cover each scenario would be too laborious. |
oh ok |
I try to convert notpetya sample to exe, but it must pass the 1 args. so it did'nt run :(
when it still dll, i usually run it like this
rundll32 perfc.dat,#1
any solution ?
The text was updated successfully, but these errors were encountered: