Git Product home page Git Product logo

edit-memory's Introduction

Edit-Memory

Edit Memory is a c++ module for helping beginners to start game hacking.

How it work ?

This module have several functions for helping beginners to see how memory works in games. We have many example on games such like AssaultCube,CSGO,GTA: SAN-ANDREAS,etc... With this module you can create simple game hack software and understand how memory/pointer/address works in game with less effort.

What can i do with this ?

You can read/write address and patch instruction with simple function !

Does this is undetectable ?

Huh... Not really. The module is based on function ReadProcessMemory and WriteProcessMemory these functions are well know by anticheat.

Now, some example.

Reading Process Memory

#include <iostream>
#include "EditMemory.h"

int main()
{

	DWORD procId = GetProcId(L"ac_client.exe");

	DWORD moduleBase = GetModuleBaseAddress(procId, L"ac_client.exe");

	HANDLE handle = OpenProcess(PROCESS_ALL_ACCESS, FALSE, procId);

	DWORD localPlayer = moduleBase + 0x10F4F4;

	std::vector<unsigned int> ammoOffsets = { 0x150 };

	uintptr_t ammoAddr = FindDynamicAddr(handle, localPlayer, ammoOffsets);

	while (true)
	{
		int currentAmmo = editmemory::ReadMem<int>(handle, (LPVOID)ammoAddr);
		std::cout << currentAmmo << std::endl;
	}
}

These are the required function for reading memory process.

Writing Process Memory

When your understand how reading memory writing memory is not much harder.

#include <iostream>
#include "EditMemory.h"

int main()
{

	DWORD procId = GetProcId(L"ac_client.exe");

	DWORD moduleBase = GetModuleBaseAddress(procId, L"ac_client.exe");

	HANDLE handle = OpenProcess(PROCESS_ALL_ACCESS, FALSE, procId);

	DWORD localPlayer = moduleBase + 0x10F4F4;

	std::vector<unsigned int> ammoOffsets = { 0x150 };

	uintptr_t ammoAddr = FindDynamicAddr(handle, localPlayer, ammoOffsets);

	while (true)
	{
		int currentAmmo = editmemory::ReadMem<int>(handle, (LPVOID)ammoAddr);
		editmemory::WriteMem<int>(handle, (LPVOID)ammoAddr, 1337);
		std::cout << currentAmmo << std::endl;
	}
}

See ? not much harder... More at Example

What are you waiting for ?

So now you have no excuse for not started game hacking !

Credits

GuidedHacking to explain so well game hacking ๐Ÿ˜Š

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.