InjectDll icon indicating copy to clipboard operation
InjectDll copied to clipboard

How to debug?

Open Pamel-a opened this issue 6 months ago • 0 comments

With InjectDll is possible to inject an x86 dll on an x86 app from an x64 app? (I have not test it yet)

What broken on debug?https://github.com/UserExistsError/InjectDll/blob/979fefe4e920a21379a60aa400d826fc79570d45/InjectDll/InjectDll.cpp#L10

I'm able to get the dll working fine, however, debugging it on Visual Studio 22 it doesn't hit any breakpoint and complains about not finding the symbols strange but it still prints the dll messages on the VS console.

When compiling the DllLoaderShellcode project as Debug the post-build of TestDll.dll is copying the loader.x64.bin instead of loader.x64.Debug.bin, is it correct?

1>C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(166,5): error MSB3073: The command "copy /b "C:\Users\DllLoaderShellcode\loader.x64.bin"+"C:\Users\DllLoaderShellcode\x64\Debug\TestDll.dll" "C:\Users\DllLoaderShellcode\TestDll\TestDll.x64.Debug.bin"

Pamel-a avatar Jan 27 '24 11:01 Pamel-a