hello how to make a injector that reinjects everytime the dll if specified process reloads and changes hes pid
-
Hi, ive searched this forum and google and found many tutorials and dll injector sources but i want to modifie injector to reinject everytime when a specified process reloads itself and changes hes process id. I tryed for checking the process id like this if(Pid==Pid) { hModule = OpenProcess( PROCESS_ALL_ACCESS, true, Pid ); InjectDll(hModule, DLL_Name); return 0; } But it alwyas crashes the injector ....
-
Hi, ive searched this forum and google and found many tutorials and dll injector sources but i want to modifie injector to reinject everytime when a specified process reloads itself and changes hes process id. I tryed for checking the process id like this if(Pid==Pid) { hModule = OpenProcess( PROCESS_ALL_ACCESS, true, Pid ); InjectDll(hModule, DLL_Name); return 0; } But it alwyas crashes the injector ....
Put some error checking and see if
OpenProcess
is succeeding. If not, callGetLastError
to get more information on the error.«_Superman_»
I love work. It gives me something to do between weekends. -
Put some error checking and see if
OpenProcess
is succeeding. If not, callGetLastError
to get more information on the error.«_Superman_»
I love work. It gives me something to do between weekends.