injectory
injectory copied to clipboard
Injection not working
When injecting with -I option i got this
injectory: at process.cpp(175) Process::runInHiddenThread() [struct errinfo_text_ ] = call to function in remote process failed
And after application crashes. I am using 32bit version of injector
Hmm, do you get the error right away or after ~5 seconds?
the -I
option only calls Windows WaitForInputIdle()
https://github.com/blole/injectory/blob/74634c08e1e3caa43b649bb768c917fd1c594651/injectory/process.hpp#L48-L52
with a hardcoded 5 second wait time:
https://github.com/blole/injectory/blob/74634c08e1e3caa43b649bb768c917fd1c594651/injectory/main.cpp#L268-L269
And I'm not really sure how WaitForInputIdle()
behaves, but I'd guess it depends on the application you're trying to inject. Probably the wait time should be made configurable