Download Assault Cube Hack

Hexui Undetected CSGO Cheats Sinkicheat PUBG Cheat

FloppyWhale

Jr.Coder
Full Member
Nobleman
Jan 12, 2015
65
308
0
Hi guys! After awhile I finally got my first hack working and I decided to post it here!
Here's the source, and I'll attach the DLL to this thread.

C++:
#include <Windows.h>
#include <iostream>

   //Write Bytes :P
void WriteB(void* Address, void* ptr, int Size)
{
	DWORD old_protect;
	VirtualProtect(Address, Size, PAGE_EXECUTE_READWRITE, &old_protect);
	memcpy(Address, ptr, Size);
	VirtualProtect(Address, Size, old_protect, &old_protect);
}

struct Player
{
public:
	DWORD baseAddress = 0x50F4F4;
	DWORD healthAddy = 0xF8;
	DWORD armourAddy = 0xFC;
	DWORD rifleAddy = 0x150;
	DWORD pistolAddy = 0x13C;
	DWORD grenadeAddy = 0x158;
}MyPlayer;

DWORD DoThese()
{
	for (;; Sleep(150))
	{
		DWORD myBase = *(DWORD*)MyPlayer.baseAddress;

		if (myBase)
		{
			*(DWORD*)(myBase + MyPlayer.rifleAddy) = 999999;
			*(DWORD*)(myBase + MyPlayer.pistolAddy) = 999999;
			*(DWORD*)(myBase + MyPlayer.grenadeAddy) = 999999;
			*(DWORD*)(myBase + MyPlayer.healthAddy) = 999999;
			*(DWORD*)(myBase + MyPlayer.armourAddy) = 999999;
		}
	}
	WriteB((void*)0x00409FB3, (PBYTE)("\x39\xC0\x90\x90\x90\x90"), 6); //Radar Hack :P
}

BOOL WINAPI DllMain(HINSTANCE hModule, DWORD fdwReason, LPVOID lpReserved)
{
	switch (fdwReason)
	{
	case DLL_PROCESS_ATTACH:
		CreateThread(0, 0, (LPTHREAD_START_ROUTINE)DoThese, 0, 0, 0);
		MessageBoxA(NULL, "Hey There!", "You're Attached!", MB_OK);
	}
	return TRUE;
}
Credits goto : Broihon for help and Rake for help + radar hack.

Virus Scan - https://www.virustotal.com/fr/file/...a1c1b36f816b1698b7721d55/analysis/1455409156/
MetaScan https://www.metascan-online.com/#!/results/file/b607c8287e1945bf81b16e1e2a36742a/regular
 

Attachments

Last edited:
Attention! Before you post:

Read the How to Ask Questions Guide
99% of questions are answered in the Beginner's Guide, do it before asking a question.

No Hack Requests. Post in the correct section.  Search the forum first. Read the rules.

How to make a good post:

  • Fill out the form correctly
  • Tell us the game name & coding language
  • Post everything we need to know to help you
  • Ask specific questions, be descriptive
  • Post errors, line numbers & screenshots
  • Post code snippets using code tags
  • If it's a large project, zip it up and attach it

If you do not comply, your post may be deleted.  We want to help, please make a good post and we will do our best to help you.

Community Mods