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

When building the injector in debug mode, the game crashes; however, in release mode, it works fine and doesn't cause any issues. #15

Open
woruteyqi opened this issue Dec 9, 2023 · 3 comments

Comments

@woruteyqi
Copy link

why?

@Dufiw
Copy link

Dufiw commented Dec 17, 2023

assuming your speaking about cs2, debug requires "-insecure" to be enabled in the game properties on steam while release doesn't. < Unless they changed it then I'm not sure

@woruteyqi
Copy link
Author

woruteyqi commented Dec 17, 2023

assuming your speaking about cs2, debug requires "-insecure" to be enabled in the game properties on steam while release doesn't. < Unless they changed it then I'm not sure

i just inject a very simple DLL that just do show a messagebox when injected,the target process is a DX12 sample

@TheCruZ
Copy link
Owner

TheCruZ commented Dec 17, 2023

Probably (I don't have any computer in front to check) when you build in debug mode the injector get optimized for debugging setting jumps for every function etc and when injector tries to copy the shell code into the game is jus copying a jump and other bytes which is incorrect, an alternative could be dump the shellcode when build on release and use as array of bytes

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

3 participants