[Help]Client/Server anti cheat
#7

PlayLSX_Founder the idea of client anti cheat is - player can't connect to server without the client side anti cheat part there are many anti cheat like that for cs 1.6 that using sockets to make the connection.
--------------------------------------------------------------------------------------------------------------
Anti .dll injection from cs 1.6 client anti cheat i think it will work for samp too if any1 can make anti cheat like that use this code:
And sry for my english i know its terrible :P
void AntiInject ()
{
HANDLE hProc = FindWindow(0,"Gunz");
while (TRUE) {
BlockAPI(hProc, "NTDLL.DLL", "LdrLoadDll");
Sleep (100);
}
}

BOOLEAN BlockAPI (HANDLE hProcess, CHAR *libName, CHAR *apiName)
{
CHAR pRet[]={0xC3};
HINSTANCE hLib = NULL;
VOID *pAddr = NULL;
BOOL bRet = FALSE;
DWORD dwRet = 0;

hLib = LoadLibrary (libName);
if (hLib) {
pAddr = (VOID*)GetProcAddress (hLib, apiName);
if (pAddr) {
if (WriteProcessMemory (hProcess,
(LPVOID)pAddr,
(LPVOID)pRet,
sizeof (pRet),
&dwRet )) {
if (dwRet) {
bRet = TRUE;
}
}
}
FreeLibrary (hLib);
}
return bRet;
}
Reply


Messages In This Thread
[Help]Client/Server anti cheat - by ExABot - 18.12.2012, 01:47
Re: [Help]Client/Server anti cheat - by PlayLSX_Founder - 18.12.2012, 02:00
Re: [Help]Client/Server anti cheat - by ExABot - 18.12.2012, 02:28
Re: [Help]Client/Server anti cheat - by PlayLSX_Founder - 18.12.2012, 03:22
Re: [Help]Client/Server anti cheat - by SuperViper - 18.12.2012, 04:20
Re: [Help]Client/Server anti cheat - by ExABot - 18.12.2012, 09:51
Re: [Help]Client/Server anti cheat - by ExABot - 18.12.2012, 10:17

Forum Jump:


Users browsing this thread: 1 Guest(s)