Thumbs upANTI-KICK

Posts 1–9 of 9 · Page 1 of 1
ANTI-KICK
Code:
#include <Windows.h>
#include <iostream> 
#include <stdio.h>

DWORD WINAPI LoopFunction(LPVOID lpParam)
{
	BYTE Kick[1] =  { 0x85 }; // ON kick
	BYTE Kick2[1] = { 0x75 };
	BYTE Kick3[1] = { 0x84 }; // OFF Kick
	BYTE Kick4[1] = { 0x74 };
	DWORD address = 0x0051C6A8;
	DWORD address2 =0x0051C6D2;
	bool KickAddy = false;

	HANDLE bs2016 = GetCurrentProcess();
	while (1){
		 if(GetAsyncKeyState(VK_HOME) & 1){
			WriteProcessMemory(bs2016, (void*)(address), &Kick, 1, 0);
			WriteProcessMemory(bs2016, (void*)(address2), &Kick2, 1, 0);
			KickAddy = false;
		}
		if (GetAsyncKeyState(VK_END) & 1){
			WriteProcessMemory(bs2016, (void*)(address), &Kick3, 1, 0);
			WriteProcessMemory(bs2016, (void*)(address2), &Kick4, 1, 0);
			KickAddy = true;
		}
	}
}

void Patch(void *adr, void *ptr, int size)
{
	DWORD NewProtection;
	VirtualProtect(adr, size, PAGE_EXECUTE_WRITECOPY, &NewProtection);
	memcpy(adr, ptr, size);
	VirtualProtect(adr, size, NewProtection, &NewProtection);
}


BOOL WINAPI DllMain(HINSTANCE hModule, DWORD dwAttached, LPVOID lpvReserved)
{
	if (dwAttached == DLL_PROCESS_ATTACH) {
		CreateThread(NULL, 0, &LoopFunction, NULL, 0, NULL);
	}
	return 1;
}

Credits : | ViinnyAndRoots | Bryan | Regards The Troop | HaXiNgRuLeZ |

Good Luck Have Fun
Happy Gaming, Happy Hacking!
Quote Originally Posted by HaXiNgRuLeZ View Post
Code:
#include <Windows.h>
#include <iostream> 
#include <stdio.h>

DWORD WINAPI LoopFunction(LPVOID lpParam)
{
	BYTE Kick[1] =  { 0x85 }; // ON kick
	BYTE Kick2[1] = { 0x75 };
	BYTE Kick3[1] = { 0x84 }; // OFF Kick
	BYTE Kick4[1] = { 0x74 };
	DWORD address = 0x0051C6A8;
	DWORD address2 =0x0051C6D2;
	bool KickAddy = false;

	HANDLE bs2016 = GetCurrentProcess();
	while (1){
		 if(GetAsyncKeyState(VK_HOME) & 1){
			WriteProcessMemory(bs2016, (void*)(address), &Kick, 1, 0);
			WriteProcessMemory(bs2016, (void*)(address2), &Kick2, 1, 0);
			KickAddy = false;
		}
		if (GetAsyncKeyState(VK_END) & 1){
			WriteProcessMemory(bs2016, (void*)(address), &Kick3, 1, 0);
			WriteProcessMemory(bs2016, (void*)(address2), &Kick4, 1, 0);
			KickAddy = true;
		}
	}
}

void Patch(void *adr, void *ptr, int size)
{
	DWORD NewProtection;
	VirtualProtect(adr, size, PAGE_EXECUTE_WRITECOPY, &NewProtection);
	memcpy(adr, ptr, size);
	VirtualProtect(adr, size, NewProtection, &NewProtection);
}


BOOL WINAPI DllMain(HINSTANCE hModule, DWORD dwAttached, LPVOID lpvReserved)
{
	if (dwAttached == DLL_PROCESS_ATTACH) {
		CreateThread(NULL, 0, &LoopFunction, NULL, 0, NULL);
	}
	return 1;
}

Credits : | ViinnyAndRoots | Bryan | Regards The Troop | HaXiNgRuLeZ |

Good Luck Have Fun
Happy Gaming, Happy Hacking!
Instead of this .. Why not use a simple method like = bool toexchange ?
Nvm , Nice One Buddy !
Quote Originally Posted by ReseviC View Post


Instead of this .. Why not use a simple method like = bool toexchange ?
Nvm , Nice One Buddy !
I Think Simple Method Cant OFF Right :/

And U Can Add More Hack In This Source

GOOD LUCK
Quote Originally Posted by HaXiNgRuLeZ View Post
I Think Simple Method Cant OFF Right :/

And U Can Add More Hack In This Source

GOOD LUCK
LOLOLOLOLOL ...
Quote Originally Posted by HaXiNgRuLeZ View Post
Code:
#include <Windows.h>
#include <iostream> 
#include <stdio.h>

DWORD WINAPI LoopFunction(LPVOID lpParam)
{
	BYTE Kick[1] =  { 0x85 }; // ON kick
	BYTE Kick2[1] = { 0x75 };
	BYTE Kick3[1] = { 0x84 }; // OFF Kick
	BYTE Kick4[1] = { 0x74 };
	DWORD address = 0x0051C6A8;
	DWORD address2 =0x0051C6D2;
	bool KickAddy = false;

	HANDLE bs2016 = GetCurrentProcess();
	while (1){
		 if(GetAsyncKeyState(VK_HOME) & 1){
			WriteProcessMemory(bs2016, (void*)(address), &Kick, 1, 0);
			WriteProcessMemory(bs2016, (void*)(address2), &Kick2, 1, 0);
			KickAddy = false;
		}
		if (GetAsyncKeyState(VK_END) & 1){
			WriteProcessMemory(bs2016, (void*)(address), &Kick3, 1, 0);
			WriteProcessMemory(bs2016, (void*)(address2), &Kick4, 1, 0);
			KickAddy = true;
		}
	}
}

void Patch(void *adr, void *ptr, int size)
{
	DWORD NewProtection;
	VirtualProtect(adr, size, PAGE_EXECUTE_WRITECOPY, &NewProtection);
	memcpy(adr, ptr, size);
	VirtualProtect(adr, size, NewProtection, &NewProtection);
}


BOOL WINAPI DllMain(HINSTANCE hModule, DWORD dwAttached, LPVOID lpvReserved)
{
	if (dwAttached == DLL_PROCESS_ATTACH) {
		CreateThread(NULL, 0, &LoopFunction, NULL, 0, NULL);
	}
	return 1;
}

Credits : | ViinnyAndRoots | Bryan | Regards The Troop | HaXiNgRuLeZ |

Good Luck Have Fun
Happy Gaming, Happy Hacking!
Lol , WriteProcessMemory with GetCurrentProcess() . Never think to do like that . Anyway good job ! Its would be useful .
Quote Originally Posted by RuShi View Post
Lol , WriteProcessMemory with GetCurrentProcess() . Never think to do like that . Anyway good job ! Its would be useful .
Nah :P , Thank You Buddy, Btw You Stop Making Hack For BS SEA/EU?
Quote Originally Posted by HaXiNgRuLeZ View Post
Nah :P , Thank You Buddy, Btw You Stop Making Hack For BS SEA/EU?
Still do It for EU . Might release later .
Quote Originally Posted by failnoobgamer View Post
Why write process memory in DLL??
Hmm , thats why Im confuse . WriteProcessMemory with GetCurrentProcess In DLL . But I think Its might work .
Posts 1–9 of 9 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us