D
D
Daniel2017-12-31 12:05:29
C++ / C#
Daniel, 2017-12-31 12:05:29

Extracting variables and their addresses in memory?

How to get a list of all variables and their addresses in memory from someone else's process or a running game and change them. In short, how to implement a program in c++ like artmany.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
MiiNiPaa, 2017-12-31
@daniil14056

You do a memory dump of the process and see which areas of memory contain the desired value. You check your guess. You check whether memory is allocated dynamically, perhaps you are looking for pointers to it. Repeat for another value. In the end, a process memory map is obtained. Then you make a program that, through ReadProcessMemory / WriteProcessMemory or analogues, reads / writes the necessary values ​​\u200b\u200bin the right addresses.

S
Saboteur, 2017-12-31
@saboteur_kiev

"How to get a list of all variables and their addresses in memory from someone else's process or a running game"
Nothing. Variables are not stored in the memory of a normal process. A compiled program stores data by address offset, not by variable name.
"and change them."
Find the process, access the memory location at the address and change. Basic knowledge of C++ and a bit of Google is required.
"In short, how to implement a program like artmany in c++."
If you carefully used artmoney, then at least you could
1. write its name correctly
2. Note that ArtMoney does not look for any variables - with its help, you can simply look for addresses in memory, and then assign something like a name to the already found addresses, but this is exactly what you came up with, not variables inside the process.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question