Warz Simple Anti Hack - dll
hi i made a simple dll anti hack
-block cheat engine
-Process Hack
-dll Injects
-Class name blocks
-Window name blocks
-crc blocks
-dump
-memory alteration
-Check name
-Block keys
INSERT,
DELETE,
HOME,
END,
PAUSE,
PRIOR
NEXT,
SCROLL,
F12,
NUMLOCK,
obs: your .exe need have WarZ.exe name <<<<<
or game dont go work
rename your .exe to WarZ.exe
i dont need make tutorial
need only hook with stud pe in your .exe
or call this in your warz.sln source
Here a simple tutorial how to call dlls in c++
i dont tested this only with hook
but i think go work fine :rolleyes:
WinMain.cpp
Search to
Quote:
int win::ProcessSuspended()
later this add
typedef void( WINAPI * PGNSI)(void);
Quote:
void LoadDllAntHack()
{
HINSTANCE MyDll = LoadLibraryA("WarZ.dll");
PGNSI pGNSI;
pGNSI = (PGNSI)GetProcAddress(MyDll,"InitProt");
pGNSI();
}
to call
search in WinMain.cpp
and add
like this
Quote:
game::PreInit();
LoadDllAntHack();
Other Way to call the dll in c++
Quote:
game::PreInit();
LoadLibrary("WarZ.dll");
Let me google that for you
DOWNLOAD
Credits - doidloko
Re: Warz Simple Anti Hack - dll
Re: Warz Simple Anti Hack - dll
Re: Warz Simple Anti Hack - dll
Re: Warz Simple Anti Hack - dll
Re: Warz Simple Anti Hack - dll
simple but work
when i make updates i post here
Re: Warz Simple Anti Hack - dll
no reason you shouldn't release your code so people can make it better your still up for many exploits and any public hack will simply unhook it. I have a few techniques i can add to it to make it better as our anti cheat isn't bad but its getting better with time.
Re: Warz Simple Anti Hack - dll
And the Anti-Hack got patched :p
https://mega.co.nz/#!qMsFWCxA!bBkdPD...JfsEdzzui6Oga8
*May be not work because i wrote it in 2 mins and waked up 10 mins ago - need a coffee :w00t:
Re: Warz Simple Anti Hack - dll
Anti-hack dll is not a good solution ...
Re: Warz Simple Anti Hack - dll
Anti-DLL never work because u can change hack name to normal dll name :)
U can make they work inside a Streamer program for example ;)
But is a good start :) If u change and block some normal process ( streamer programs for example too ) maybe works 10%~15% better ;)
Quote:
Originally Posted by
iKasu
2 min? Not bad.... Old ByPass already work so u can just change into your hack code :)
Re: Warz Simple Anti Hack - dll
Quote:
Originally Posted by
YuriPW
in game::Init use:
game::Init
if (LoadLibrary("WarZ.dll") == NULL)
{
MessageBoxA(0,"Anti-Cheats By Yuri-BR failed to load!","Anti-Cheats By Yuri-BR Error",MB_ICONERROR);
TerminateProcess(GetCurrentProcess(),0);
}
Lol. Yuri got the DLL and claimed it as it's own anticheat. Haha, you're funny.
Well, thanks for the code. I'm gonna put this in my anticheat.
Re: Warz Simple Anti Hack - dll
Quote:
Originally Posted by
JonnyTruant
Lol. Yuri got the DLL and claimed it as it's own anticheat. Haha, you're funny.
Well, thanks for the code. I'm gonna put this in my anticheat.
kk, I use anti-cheats warguard created by xanxuz, my old team deathmatchz =)
Quote:
Originally Posted by
folkz
Anti-DLL never work because u can change hack name to normal dll name :)
U can make they work inside a Streamer program for example ;)
But is a good start :) If u change and block some normal process ( streamer programs for example too ) maybe works 10%~15% better ;)
2 min? Not bad.... Old ByPass already work so u can just change into your hack code :)
you can use the enigma protector to check the dll
Re: Warz Simple Anti Hack - dll
Quote:
you can use the enigma protector to check the dll
have many ways to use
Quote:
typedef void( WINAPI * PGNSI)(void);
void LoadDllAntHack()
{
HINSTANCE MyDll = LoadLibraryA("WarZ.dll");
PGNSI pGNSI;
pGNSI = (PGNSI)GetProcAddress(MyDll,"Main1");
pGNSI();
}
game::PreInit();
LoadDllAntHack();
this is a crc check i m posting this only to show
but i dont added a crc in this dll
Quote:
#define DLL_CRC 0xD4882F2C // CRC
static void startupFunc(DWORD in)
{
// in = in;
CCRC32 crc;
game::PreInit();
if (LoadLibrary(TEXT("WarZ.dll")) != NULL) {
unsigned long myCrc = 0;
if (!crc.FileCRC("WarZ.dll", &myCrc))
antihackNotFound = 1;
else {
if (myCrc == DLL_CRC) {
antihackNotFound = 0;
} else {
antihackNotFound = 1;
}
}
} else
antihackNotFound = 1;
win::Init();
Re: Warz Simple Anti Hack - dll
Here worked perfectly with hook DLL
If you delete or rename the game DLL does not open, and says he is missing it.
Re: Warz Simple Anti Hack - dll
A small translation of the "Hook Guide" posted by doidloko step by step:
Open your WarZ.sln
Search in WinMain.cpp
Code:
int win::ProcessSuspended()
Now you see
Code:
int win::ProcessSuspended()
{
if(!bSuspended)
return FALSE;
MSG msg;
while(PeekMessage(&msg, NULL,0,0,PM_NOREMOVE))
{
if(!GetMessage (&msg, NULL, 0, 0))
return 1;
TranslateMessage(&msg);
DispatchMessage(&msg);
}
return TRUE;
}
After that paste
Code:
typedef void( WINAPI * PGNSI)(void);
void LoadDllAntHack()
{
HINSTANCE MyDll = LoadLibraryA("WarZ.dll");
PGNSI pGNSI;
pGNSI = (PGNSI)GetProcAddress(MyDll,"Main1");
pGNSI();
}
Like that
Code:
int win::ProcessSuspended()
{
if(!bSuspended)
return FALSE;
MSG msg;
while(PeekMessage(&msg, NULL,0,0,PM_NOREMOVE))
{
if(!GetMessage (&msg, NULL, 0, 0))
return 1;
TranslateMessage(&msg);
DispatchMessage(&msg);
}
return TRUE;
}
typedef void( WINAPI * PGNSI)(void);
void LoadDllAntHack()
{
HINSTANCE MyDll = LoadLibraryA("WarZ.dll");
PGNSI pGNSI;
pGNSI = (PGNSI)GetProcAddress(MyDll,"Main1");
pGNSI();
}
Now search (Always in WinMain.cpp)
After that paste
Code:
LoadLibrary("WarZ.dll");
Like that
Code:
game::PreInit();
LoadLibrary("WarZ.dll");
SAVE AND BUILD
Now go on your Bin folder and EDIT RSBuild.xml
Search for
Code:
<exclude mask="ApexFrameworkPROFILE_x86.dll"/>
After that paste
Code:
<include mask="WarZ.dll"/>
Like that
Code:
<exclude mask="ApexFrameworkPROFILE_x86.dll"/>
<include mask="WarZ.dll"/>
SAVE AND UPDATE (RSBuild.exe)
I know this guide is pretty useless the web is full of these guides, but i was really bored, so do not bother and let me waste my time :3