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

Remote call causes the target process to crash #511

Open
wPood909mv opened this issue Sep 25, 2023 · 0 comments
Open

Remote call causes the target process to crash #511

wPood909mv opened this issue Sep 25, 2023 · 0 comments

Comments

@wPood909mv
Copy link

Microsoft Windows 11 10.0.22621.2215 x86 Remote Call x64 Taskmgr.exe

_process.Attach(TaskmgrProcessId);
if (auto pLoadLibraryA = MakeRemoteFunction<decltype(&LoadLibraryA)>(_process, LibKernel32, "LoadLibraryA"))
return pLoadLibraryA(lpLibFileName).result();

auto thread = _threads.CreateNew( _userCode[_currentBufferIdx].ptr() + size, _userData[_currentBufferIdx].ptr()/, HideFromDebug/ );
if (!thread)
return thread.status;
if (!(*thread)->Join()) //Taskmgr.exe Program crash
return LastNtStatus();

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

1 participant