ReflectiveDLLInjection icon indicating copy to clipboard operation
ReflectiveDLLInjection copied to clipboard

inject dll by the name

Open axe-usat opened this issue 8 years ago • 0 comments

I am trying to update this loader. At first i'm trying get to work. And when i get to work i will try to get that with the name you can inject. For example in c++ will be:

HANDLE processList=CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0);
PROCESSENTRY32 pInfo;
BOOL st=TRUE;
pInfo.dwSize=sizeof(PROCESSENTRY32);
Process32First(processList, &pInfo);
int myPid=0;
do
{
	if(strcmp(pInfo.szExeFile, "test.exe")==0)
	{
		myPid=pInfo.th32ProcessID;
		break;
	}
	Process32Next(lista, &pInfo);
}
while(st!=FALSE);

So with the name you can inject into the process. reference: https://blog.ka0labs.net/post/8/

this feature can be added in your project.

axe-usat avatar Dec 03 '16 12:12 axe-usat