Cheking Process Name [Simple]
PHP Code:
DWORD NTAPI ThreadProcess (LPVOID lpReserved)
{
if(!::GetModuleHandleA("Gunz.exe"))
{
typedef LPDWORD (NTAPI *_RlExitUserProcess)(HANDLE , LPDWORD ); _RlExitUserProcess RlExitUserProcess; RlExitUserProcess = (_RlExitUserProcess)::GetProcAddress(GetModuleHandle("ntdll.dll"), "RtlExitUserProcess"); RlExitUserProcess(GetCurrentProcess(),false);
}
}
By me
Re: Cheking Process Name [Simple]
Re: Cheking Process Name [Simple]
Quote:
Originally Posted by
qet123
With wat it helps
You can exchange for GetModuleHandle ()
This is useful to protect against leechers (preferential DLL).
Re: Cheking Process Name [Simple]
what .ccp i edit?and what line?
Re: Cheking Process Name [Simple]
Yeah, like it would ever happen you don't have the Gunz.exe module.
Re: Cheking Process Name [Simple]
Quote:
Originally Posted by
Wizkidje
Yeah, like it would ever happen you don't have the Gunz.exe module.
This was done to be more utlizados to protect against DLL's and leechers.