Hier ist der Code, den ich für die Injektion verwende:
RemoteThreadInjector.exe
Code: Select all
#include
#include
#include
#include
#include
bool InjectDLL(DWORD processID,const char* dllPath) {
HANDLE hProcess = nullptr;
HANDLE hThread = nullptr;
LPVOID pRemoteMem = nullptr;
bool success = false;
hProcess = OpenProcess(PROCESS_ALL_ACCESS, FALSE, processID);
if (hProcess == nullptr) {
std::cerr
Mobile version